@momo-webplatform/mobase 0.2.46 → 0.2.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +34 -38
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +95 -23
- package/dist/esm/index.d.ts +95 -23
- package/dist/esm/index.js +33 -37
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var wl=Object.create;var bo=Object.defineProperty;var Nl=Object.getOwnPropertyDescriptor;var Pl=Object.getOwnPropertyNames;var Cl=Object.getPrototypeOf,Rl=Object.prototype.hasOwnProperty;var Tl=(e,t)=>{for(var o in t)bo(e,o,{get:t[o],enumerable:!0})},Ki=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Pl(t))!Rl.call(e,i)&&i!==o&&bo(e,i,{get:()=>t[i],enumerable:!(a=Nl(t,i))||a.enumerable});return e};var f=(e,t,o)=>(o=e!=null?wl(Cl(e)):{},Ki(t||!e||!e.__esModule?bo(o,"default",{value:e,enumerable:!0}):o,e)),kl=e=>Ki(bo({},"__esModule",{value:!0}),e);var jm={};Tl(jm,{Accordion:()=>tt,AccordionContent:()=>it,AccordionItem:()=>ot,AccordionTrigger:()=>at,ActionButton:()=>It,AlertDialog:()=>Rr,AlertDialogAction:()=>ka,AlertDialogCancel:()=>Sa,AlertDialogContent:()=>Na,AlertDialogDescription:()=>Ta,AlertDialogFooter:()=>Ca,AlertDialogHeader:()=>Pa,AlertDialogOverlay:()=>So,AlertDialogPortal:()=>wa,AlertDialogTitle:()=>Ra,AlertDialogTrigger:()=>Tr,AspectRatio:()=>be,Badge:()=>_n,Breadcrumb:()=>pa,BreadcrumbEllipsis:()=>xa,BreadcrumbItem:()=>ga,BreadcrumbLink:()=>ua,BreadcrumbList:()=>fa,BreadcrumbPage:()=>va,BreadcrumbSeparator:()=>ba,Button:()=>pe,CTASection:()=>Ys,Calendar:()=>Zt,Callout:()=>Nn,Card:()=>ii,CardContent:()=>li,CardDescription:()=>si,CardFooter:()=>mi,CardHeader:()=>ri,CardTitle:()=>ni,Carousel:()=>Kt,CarouselContent:()=>Yt,CarouselItem:()=>Jt,CarouselNext:()=>to,CarouselPrevious:()=>eo,Checkbox:()=>qt,ChoiceboxGroup:()=>xi,ChoiceboxGroupItem:()=>hi,ChoiceboxMultiItem:()=>yi,Combobox:()=>hn,ComboboxContent:()=>xn,ComboboxTrigger:()=>bn,Command:()=>Uo,CommandDialog:()=>un,CommandEmpty:()=>pi,CommandGroup:()=>fi,CommandInput:()=>ci,CommandItem:()=>ui,CommandList:()=>di,CommandSeparator:()=>gi,CommandShortcut:()=>vi,Comment:()=>qn,DatePicker:()=>Cr,Dialog:()=>nt,DialogBody:()=>Ut,DialogClose:()=>nr,DialogContent:()=>Qe,DialogDescription:()=>da,DialogFooter:()=>ma,DialogHeader:()=>la,DialogOverlay:()=>ho,DialogPortal:()=>sa,DialogQr:()=>st,DialogTitle:()=>ca,DialogTrigger:()=>xo,DropdownMenu:()=>ds,DropdownMenuCheckboxItem:()=>zi,DropdownMenuContent:()=>Hi,DropdownMenuGroup:()=>fs,DropdownMenuItem:()=>_i,DropdownMenuLabel:()=>Vi,DropdownMenuPortal:()=>gs,DropdownMenuRadioGroup:()=>vs,DropdownMenuRadioItem:()=>Bi,DropdownMenuSeparator:()=>Oi,DropdownMenuShortcut:()=>Gi,DropdownMenuSub:()=>us,DropdownMenuSubContent:()=>Fi,DropdownMenuSubTrigger:()=>Ei,DropdownMenuTrigger:()=>ps,FAQSection:()=>Us,FeatureSection:()=>Os,Footer:()=>gn,Form:()=>ss,FormControl:()=>Ii,FormDescription:()=>Ai,FormField:()=>ms,FormItem:()=>Di,FormLabel:()=>Mi,FormMessage:()=>Li,HeaderNavigation:()=>oi,Heading:()=>Mo,HeadingGroup:()=>Ao,HeadingSub:()=>Io,HeadingTagline:()=>Do,HeroSection:()=>Ss,HorizontalContent:()=>xs,HorizontalNext:()=>ys,HorizontalPrevious:()=>hs,HorizontalScroll:()=>bs,IconButton:()=>we,LightBoxGalleryContent:()=>qo,LightboxGallery:()=>Xo,LightboxThumbnail:()=>In,NavigationMenu:()=>ro,NavigationMenuContent:()=>co,NavigationMenuItem:()=>so,NavigationMenuLink:()=>zt,NavigationMenuList:()=>no,NavigationMenuTrigger:()=>mo,NewsSection:()=>Zs,Pagination:()=>Ma,Popover:()=>Lt,PopoverContent:()=>bt,PopoverTrigger:()=>Et,ProgressSteps:()=>os,ProgressStepsItem:()=>ts,ProgressStepsItemTrigger:()=>es,Progressbar:()=>Ci,RadioGroup:()=>Ja,RadioGroupItem:()=>ei,ReadMoreLite:()=>Zo,SearchBar:()=>Rn,Select:()=>$r,SelectContent:()=>Ua,SelectGroup:()=>Qr,SelectItem:()=>Ur,SelectLabel:()=>Xa,SelectScrollDownButton:()=>Wo,SelectScrollUpButton:()=>Go,SelectSeparator:()=>qa,SelectTrigger:()=>Qa,SelectValue:()=>jr,SiteMeta:()=>hl,Slider:()=>Ri,SocialProofSection:()=>Ms,Stepper:()=>ja,Switch:()=>Ka,Tabs:()=>Ht,TabsContent:()=>wt,TabsList:()=>ht,TabsTrigger:()=>yt,TestimonialSection:()=>js,TextArea:()=>Mr,TextButton:()=>Pt,TextInput:()=>Gr,ToastAction:()=>Ha,Toaster:()=>Er,Tooltip:()=>Vr,TooltipArrow:()=>Ga,TooltipContent:()=>Wa,TooltipProvider:()=>Br,TooltipTrigger:()=>Or,badgeVariants:()=>wi,buttonVariants:()=>ke,mobaseTW:()=>xl,navigationMenuTriggerStyle:()=>lo,textButtonVariants:()=>Va,toast:()=>La,useFormField:()=>Gt,useToast:()=>Bo});module.exports=kl(jm);var jt=f(require("react"),1),he=f(require("@radix-ui/react-accordion"),1),er=require("@heroicons/react/20/solid");var Sl=f(require("react"),1),Ji=require("tailwind-merge");var $e={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 Yi={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 $t=[{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"}],na=[{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 oe={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 r(...e){return(0,Ji.twMerge)(e)}var je=require("react/jsx-runtime"),tt=jt.forwardRef(({className:e,...t},o)=>(0,je.jsx)(he.Root,{ref:o,...t}));tt.displayName="AccordionRoot";var ot=jt.forwardRef(({className:e,...t},o)=>(0,je.jsx)(he.Item,{ref:o,className:r("border-b border-gray-200",e),...t}));ot.displayName="AccordionItem";var at=jt.forwardRef(({className:e,children:t,...o},a)=>(0,je.jsx)(he.Header,{className:"flex",children:(0,je.jsxs)(he.Trigger,{ref:a,className:r("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,je.jsx)(er.ChevronDownIcon,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));at.displayName=he.Trigger.displayName;var it=jt.forwardRef(({className:e,children:t,...o},a)=>(0,je.jsx)(he.Content,{ref:a,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ",...o,children:(0,je.jsx)("div",{className:r("pb-4 pt-0 text-gray-900 ",e),children:t})}));it.displayName=he.Content.displayName;var or=f(require("react"),1),ar=require("@radix-ui/react-slot"),ir=require("class-variance-authority");var ae=require("react/jsx-runtime"),Dl=({className:e})=>(0,ae.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[(0,ae.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,ae.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,ae.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,ae.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,ae.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,ae.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,ae.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,ae.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,ae.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,ae.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,ae.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,ae.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"})]}),tr=Dl;var rt=require("react/jsx-runtime"),ke=(0,ir.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"}}),pe=or.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isLoading:i=!1,isDisabled:n=!1,...s},c)=>{let d=a?ar.Slot:"button",p=r(ke({variant:t,size:o,className:e}),{"cursor-wait":i});return(0,rt.jsx)(rt.Fragment,{children:a?(0,rt.jsx)(d,{className:p,type:"button",disabled:n,ref:c,...s,children:s.children}):(0,rt.jsxs)(d,{className:p,type:"button",disabled:n,ref:c,...s,children:[i&&(0,rt.jsx)(tr,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),s.children]})})});pe.displayName="Button";var Qt=f(require("react"),1),E=f(require("@radix-ui/react-dialog"),1);var rr=require("@heroicons/react/16/solid"),re=require("react/jsx-runtime"),nt=E.Root,xo=E.Trigger,sa=E.Portal,nr=E.Close,ho=Qt.forwardRef(({className:e,...t},o)=>(0,re.jsx)(E.Overlay,{ref:o,className:r("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}));ho.displayName=E.Overlay.displayName;var Qe=Qt.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:a="md",position:i="center",height:n="auto",isFull:s=!1,children:c,...d},p)=>{let g={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"},b={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},y={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},z=[g.base,g[i],b[a],y[n],s&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return(0,re.jsxs)(sa,{children:[(0,re.jsx)(ho,{}),(0,re.jsxs)(E.Content,{ref:p,className:r(...z),...d,children:[c,!o&&(0,re.jsxs)(E.Close,{className:r("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,re.jsx)(rr.XMarkIcon,{className:"h-5 w-5 text-gray-700"}),(0,re.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});Qe.displayName=E.Content.displayName;var la=({className:e,...t})=>(0,re.jsx)("div",{className:r("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});la.displayName="DialogHeader";var Ut=({className:e,isCondensed:t=!1,...o})=>(0,re.jsx)("div",{className:r("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});Ut.displayName="DialogBody";var ma=({className:e,isDivider:t=!0,...o})=>(0,re.jsx)("div",{className:r("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});ma.displayName="DialogFooter";var ca=Qt.forwardRef(({className:e,...t},o)=>(0,re.jsx)(E.Title,{ref:o,className:r("text-base font-semibold line-clamp-1 max-w-full",e),...t}));ca.displayName=E.Title.displayName;var da=Qt.forwardRef(({className:e,...t},o)=>(0,re.jsx)(E.Description,{ref:o,className:r("text-sm text-gray-700",e),...t}));da.displayName=E.Description.displayName;var sr=require("qrcode.react"),u=require("react/jsx-runtime"),Ml=({img:e="",children:t,isQrForAll:o})=>(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:"qrcode__scan__container",children:(0,u.jsxs)("div",{className:"qrcode__scan",children:[(0,u.jsx)("div",{className:"qrcode__gradient",children:(0,u.jsx)("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),(0,u.jsx)("div",{className:"qrcode__border",children:(0,u.jsx)("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),(0,u.jsx)("div",{className:"qrcode__image p-4",children:e?(0,u.jsx)("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),(0,u.jsx)("div",{className:"mt-4 text-sm text-white",children:o?(0,u.jsxs)(u.Fragment,{children:[(0,u.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,u.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,u.jsxs)(u.Fragment,{children:[(0,u.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,u.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,u.jsx)("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),(0,u.jsx)("style",{children:`
|
|
1
|
+
"use strict";var Nl=Object.create;var vo=Object.defineProperty;var Pl=Object.getOwnPropertyDescriptor;var Cl=Object.getOwnPropertyNames;var Rl=Object.getPrototypeOf,Tl=Object.prototype.hasOwnProperty;var kl=(e,t)=>{for(var o in t)vo(e,o,{get:t[o],enumerable:!0})},ar=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Cl(t))!Tl.call(e,i)&&i!==o&&vo(e,i,{get:()=>t[i],enumerable:!(a=Pl(t,i))||a.enumerable});return e};var g=(e,t,o)=>(o=e!=null?Nl(Rl(e)):{},ar(t||!e||!e.__esModule?vo(o,"default",{value:e,enumerable:!0}):o,e)),Sl=e=>ar(vo({},"__esModule",{value:!0}),e);var jm={};kl(jm,{Accordion:()=>tt,AccordionContent:()=>it,AccordionItem:()=>ot,AccordionTrigger:()=>at,ActionButton:()=>It,AlertDialog:()=>Mr,AlertDialogAction:()=>Aa,AlertDialogCancel:()=>La,AlertDialogContent:()=>ka,AlertDialogDescription:()=>Ia,AlertDialogFooter:()=>Da,AlertDialogHeader:()=>Sa,AlertDialogOverlay:()=>So,AlertDialogPortal:()=>Ta,AlertDialogTitle:()=>Ma,AlertDialogTrigger:()=>Ir,AspectRatio:()=>be,Badge:()=>Wn,Breadcrumb:()=>ba,BreadcrumbEllipsis:()=>Pa,BreadcrumbItem:()=>ha,BreadcrumbLink:()=>ya,BreadcrumbList:()=>xa,BreadcrumbPage:()=>wa,BreadcrumbSeparator:()=>Na,Button:()=>pe,CTASection:()=>Js,Calendar:()=>qt,Callout:()=>kn,Card:()=>mi,CardContent:()=>fi,CardDescription:()=>pi,CardFooter:()=>gi,CardHeader:()=>ci,CardTitle:()=>di,Carousel:()=>Zt,CarouselContent:()=>Kt,CarouselItem:()=>Yt,CarouselNext:()=>eo,CarouselPrevious:()=>Jt,Checkbox:()=>Xt,ChoiceboxGroup:()=>Pi,ChoiceboxGroupItem:()=>Ci,ChoiceboxMultiItem:()=>Ri,Combobox:()=>Cn,ComboboxContent:()=>Pn,ComboboxTrigger:()=>Nn,Command:()=>Qo,CommandDialog:()=>yn,CommandEmpty:()=>bi,CommandGroup:()=>xi,CommandInput:()=>ui,CommandItem:()=>yi,CommandList:()=>vi,CommandSeparator:()=>hi,CommandShortcut:()=>wi,Comment:()=>os,DatePicker:()=>Dr,Dialog:()=>nt,DialogBody:()=>Ut,DialogClose:()=>dr,DialogContent:()=>je,DialogDescription:()=>va,DialogFooter:()=>ga,DialogHeader:()=>fa,DialogOverlay:()=>ho,DialogPortal:()=>pa,DialogQr:()=>st,DialogTitle:()=>ua,DialogTrigger:()=>xo,DropdownMenu:()=>xs,DropdownMenuCheckboxItem:()=>Gi,DropdownMenuContent:()=>Oi,DropdownMenuGroup:()=>ys,DropdownMenuItem:()=>Wi,DropdownMenuLabel:()=>ji,DropdownMenuPortal:()=>ws,DropdownMenuRadioGroup:()=>Ps,DropdownMenuRadioItem:()=>$i,DropdownMenuSeparator:()=>Ui,DropdownMenuShortcut:()=>Qi,DropdownMenuSub:()=>Ns,DropdownMenuSubContent:()=>Vi,DropdownMenuSubTrigger:()=>Bi,DropdownMenuTrigger:()=>hs,FAQSection:()=>Zs,FeatureSection:()=>$s,Footer:()=>hn,Form:()=>gs,FormControl:()=>Fi,FormDescription:()=>_i,FormField:()=>vs,FormItem:()=>Ei,FormLabel:()=>Hi,FormMessage:()=>zi,HeaderNavigation:()=>si,Heading:()=>Mo,HeadingGroup:()=>Ao,HeadingSub:()=>Io,HeadingTagline:()=>Do,HeroSection:()=>Is,HorizontalContent:()=>aa,HorizontalNext:()=>ra,HorizontalPrevious:()=>ia,HorizontalScroll:()=>oa,IconButton:()=>we,LightBoxGalleryContent:()=>qo,LightboxGallery:()=>Xo,LightboxThumbnail:()=>Fn,NavigationMenu:()=>io,NavigationMenuContent:()=>mo,NavigationMenuItem:()=>no,NavigationMenuLink:()=>zt,NavigationMenuList:()=>ro,NavigationMenuTrigger:()=>lo,NewsSection:()=>Ks,Pagination:()=>Ha,Popover:()=>Lt,PopoverContent:()=>xt,PopoverTrigger:()=>Et,ProgressSteps:()=>ms,ProgressStepsItem:()=>ls,ProgressStepsItemTrigger:()=>ss,Progressbar:()=>Di,RadioGroup:()=>ii,RadioGroupItem:()=>ri,ReadMoreLite:()=>Zo,SearchBar:()=>Mn,Select:()=>qr,SelectContent:()=>Ya,SelectGroup:()=>Kr,SelectItem:()=>Yr,SelectLabel:()=>Ja,SelectScrollDownButton:()=>Go,SelectScrollUpButton:()=>Wo,SelectSeparator:()=>ei,SelectTrigger:()=>Ka,SelectValue:()=>Zr,SiteMeta:()=>yl,Skeleton:()=>jn,Slider:()=>Mi,SocialProofSection:()=>Ls,Stepper:()=>Za,Switch:()=>oi,Tabs:()=>Ft,TabsContent:()=>Nt,TabsList:()=>yt,TabsTrigger:()=>wt,TestimonialSection:()=>Xs,TextArea:()=>Hr,TextButton:()=>qe,TextInput:()=>Qr,ToastAction:()=>Oa,Toaster:()=>Br,Tooltip:()=>jr,TooltipArrow:()=>Qa,TooltipContent:()=>Xa,TooltipProvider:()=>$r,TooltipTrigger:()=>Ur,badgeVariants:()=>Ti,buttonVariants:()=>Te,mobaseTW:()=>hl,navigationMenuTriggerStyle:()=>so,textButtonVariants:()=>ja,toast:()=>za,useFormField:()=>Wt,useToast:()=>Bo});module.exports=Sl(jm);var $t=g(require("react"),1),he=g(require("@radix-ui/react-accordion"),1),nr=require("@heroicons/react/20/solid");var Dl=g(require("react"),1),rr=require("tailwind-merge");var Ge={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 ir={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 Gt=[{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"}],da=[{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 oe={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 r(...e){return(0,rr.twMerge)(e)}var $e=require("react/jsx-runtime"),tt=$t.forwardRef(({className:e,...t},o)=>(0,$e.jsx)(he.Root,{ref:o,...t}));tt.displayName="AccordionRoot";var ot=$t.forwardRef(({className:e,...t},o)=>(0,$e.jsx)(he.Item,{ref:o,className:r("border-b border-gray-200",e),...t}));ot.displayName="AccordionItem";var at=$t.forwardRef(({className:e,children:t,...o},a)=>(0,$e.jsx)(he.Header,{className:"flex",children:(0,$e.jsxs)(he.Trigger,{ref:a,className:r("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,$e.jsx)(nr.ChevronDownIcon,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));at.displayName=he.Trigger.displayName;var it=$t.forwardRef(({className:e,children:t,...o},a)=>(0,$e.jsx)(he.Content,{ref:a,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ",...o,children:(0,$e.jsx)("div",{className:r("pb-4 pt-0 text-gray-900 ",e),children:t})}));it.displayName=he.Content.displayName;var sr=g(require("react"),1),lr=require("@radix-ui/react-slot"),mr=require("class-variance-authority");var ae=require("react/jsx-runtime"),Ml=({className:e})=>(0,ae.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[(0,ae.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,ae.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,ae.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,ae.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,ae.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,ae.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,ae.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,ae.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,ae.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,ae.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,ae.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,ae.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"})]}),bo=Ml;var rt=require("react/jsx-runtime"),Te=(0,mr.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"}}),pe=sr.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isLoading:i=!1,isDisabled:n=!1,...l},c)=>{let f=a?lr.Slot:"button",p=r(Te({variant:t,size:o,className:e}),{"cursor-wait":i});return(0,rt.jsx)(rt.Fragment,{children:a?(0,rt.jsx)(f,{className:p,type:"button",disabled:n,ref:c,...l,children:l.children}):(0,rt.jsxs)(f,{className:p,type:"button",disabled:n,ref:c,...l,children:[i&&(0,rt.jsx)(bo,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),l.children]})})});pe.displayName="Button";var jt=g(require("react"),1),F=g(require("@radix-ui/react-dialog"),1);var cr=require("@heroicons/react/16/solid"),re=require("react/jsx-runtime"),nt=F.Root,xo=F.Trigger,pa=F.Portal,dr=F.Close,ho=jt.forwardRef(({className:e,...t},o)=>(0,re.jsx)(F.Overlay,{ref:o,className:r("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}));ho.displayName=F.Overlay.displayName;var je=jt.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:a="md",position:i="center",height:n="auto",isFull:l=!1,children:c,...f},p)=>{let d={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"},v={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},x={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},A=[d.base,d[i],v[a],x[n],l&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return(0,re.jsxs)(pa,{children:[(0,re.jsx)(ho,{}),(0,re.jsxs)(F.Content,{ref:p,className:r(...A),...f,children:[c,!o&&(0,re.jsxs)(F.Close,{className:r("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,re.jsx)(cr.XMarkIcon,{className:"h-5 w-5 text-gray-700"}),(0,re.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});je.displayName=F.Content.displayName;var fa=({className:e,...t})=>(0,re.jsx)("div",{className:r("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});fa.displayName="DialogHeader";var Ut=({className:e,isCondensed:t=!1,...o})=>(0,re.jsx)("div",{className:r("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});Ut.displayName="DialogBody";var ga=({className:e,isDivider:t=!0,...o})=>(0,re.jsx)("div",{className:r("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});ga.displayName="DialogFooter";var ua=jt.forwardRef(({className:e,...t},o)=>(0,re.jsx)(F.Title,{ref:o,className:r("text-base font-semibold line-clamp-1 max-w-full",e),...t}));ua.displayName=F.Title.displayName;var va=jt.forwardRef(({className:e,...t},o)=>(0,re.jsx)(F.Description,{ref:o,className:r("text-sm text-gray-700",e),...t}));va.displayName=F.Description.displayName;var pr=require("qrcode.react"),u=require("react/jsx-runtime"),Il=({img:e="",children:t,isQrForAll:o})=>(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:"qrcode__scan__container",children:(0,u.jsxs)("div",{className:"qrcode__scan",children:[(0,u.jsx)("div",{className:"qrcode__gradient",children:(0,u.jsx)("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),(0,u.jsx)("div",{className:"qrcode__border",children:(0,u.jsx)("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),(0,u.jsx)("div",{className:"qrcode__image p-4",children:e?(0,u.jsx)("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),(0,u.jsx)("div",{className:"mt-4 text-sm text-white",children:o?(0,u.jsxs)(u.Fragment,{children:[(0,u.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,u.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,u.jsxs)(u.Fragment,{children:[(0,u.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,u.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,u.jsx)("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),(0,u.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
|
-
`})]}),st=({className:e,children:t,title:o,shortTitle:a,qrImage:i,qrLink:n,logoQr:s,isQrForAll:c=!1,...d})=>(0,u.jsx)(nt,{...d,children:(0,u.jsx)(Qe,{className:r("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,u.jsx)(Ut,{className:"p-0",children:(0,u.jsxs)("div",{className:"flex flex-row flex-wrap",children:[(0,u.jsx)("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||(0,u.jsxs)("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[(0,u.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,u.jsx)("div",{className:"flex-none",children:(0,u.jsx)("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),(0,u.jsxs)("div",{className:"flex-1 pl-4",children:[(0,u.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),(0,u.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,u.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,u.jsx)("div",{className:"flex-none",children:(0,u.jsx)("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),(0,u.jsxs)("div",{className:"flex-1 pl-4",children:[(0,u.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),(0,u.jsx)("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),(0,u.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,u.jsx)("div",{className:"flex-none",children:(0,u.jsx)("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),(0,u.jsxs)("div",{className:"flex-1 pl-4",children:[(0,u.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),(0,u.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"," ",a||"Truy c\u1EADp ngay"]})]})]})]})}),(0,u.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,u.jsxs)("div",{className:"px-5 py-10 text-center",children:[o&&(0,u.jsx)("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),(0,u.jsxs)("div",{className:"relative",children:[c&&(0,u.jsx)("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:(0,u.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),(0,u.jsx)(Ml,{img:i,isQrForAll:c,children:n&&(0,u.jsx)(sr.QRCodeSVG,{value:n,size:215,imageSettings:{src:`${s||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});var cr=require("react");var Mt=require("react"),lr=f(require("ua-parser-js"),1),Il=()=>(0,lr.default)().device.type==="mobile",Al=typeof window<"u"?Mt.useLayoutEffect:Mt.useEffect,mr=()=>{let[e,t]=(0,Mt.useState)(!1);return Al(()=>{t(Il())},[]),e};var Ue=require("react/jsx-runtime"),It=({action:e,newTab:t,offset:o,dialogQrProps:a,className:i,children:n,...s})=>{let[c,d]=(0,cr.useState)(!1),p=mr(),g=!!a?.qrLink,b=()=>{let X=g?a?.qrLink:e;return typeof X=="string"?X.trim():""},y=()=>{let X=b();!X&&typeof e!="function"||(typeof e=="function"?e():window.open(X,t?"_blank":"_self"))},z=(X,q=0)=>{let B=document.querySelector(X);if(!B)return;let ra=B.getBoundingClientRect().top+window.scrollY-q;window.scrollTo({top:ra,behavior:"smooth"})},U=()=>{typeof e=="string"&&e.startsWith("#")?z(e,o):y()},te=()=>(0,Ue.jsxs)(Ue.Fragment,{children:[(0,Ue.jsx)(pe,{...s,className:i,onClick:()=>d(!0),"data-name":"button-action-with-qr",children:n}),(0,Ue.jsx)(st,{...a,open:c,onOpenChange:()=>d(!1),qrLink:a?.qrLink||""})]});return g?p?a?.isQrForAll?te():(0,Ue.jsx)(pe,{...s,className:i,onClick:y,"data-name":"button-action-with-qr",children:n}):te():(0,Ue.jsx)(pe,{...s,onClick:U,className:r("cursor-pointer",i),"data-name":"button-action-without-qr",rel:"noreferrer",children:n})};var At=f(require("react"),1),yo=require("@radix-ui/react-icons"),dr=require("@radix-ui/react-slot");var ye=require("react/jsx-runtime"),pa=At.forwardRef(({className:e,...t},o)=>(0,ye.jsx)("nav",{ref:o,"aria-label":"breadcrumb",className:r("",e),...t}));pa.displayName="Breadcrumb";var fa=At.forwardRef(({className:e,...t},o)=>(0,ye.jsx)("ol",{ref:o,className:r("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...t}));fa.displayName="BreadcrumbList";var ga=At.forwardRef(({className:e,...t},o)=>(0,ye.jsx)("li",{ref:o,className:r("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));ga.displayName="BreadcrumbItem";var ua=At.forwardRef(({asChild:e,className:t,...o},a)=>(0,ye.jsx)(e?dr.Slot:"a",{ref:a,className:r("transition-colors hover:text-foreground",t),...o}));ua.displayName="BreadcrumbLink";var va=At.forwardRef(({className:e,...t},o)=>(0,ye.jsx)("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:r("text-sm text-gray-500",e),...t}));va.displayName="BreadcrumbPage";var ba=({children:e,className:t,...o})=>(0,ye.jsx)("li",{role:"presentation","aria-hidden":"true",className:r("text-gray-900",t),...o,children:e??(0,ye.jsx)(yo.ChevronRightIcon,{className:"w-2 h-2"})});ba.displayName="BreadcrumbSeparator";var xa=({className:e,...t})=>(0,ye.jsxs)("span",{role:"presentation","aria-hidden":"true",className:r("flex h-5 w-5 items-center justify-center",e),...t,children:[(0,ye.jsx)(yo.DotsHorizontalIcon,{className:"w-4 h-4 text-gray-900"}),(0,ye.jsx)("span",{className:"sr-only",children:"More"})]});xa.displayName="BreadcrumbElipssis";var No=f(require("react"),1);var Po=require("date-fns/locale"),gr=require("react-day-picker"),Co=require("lucide-react"),ur=f(require("lunisolar"),1);var pr=f(require("react"),1),Xt=f(require("@radix-ui/react-checkbox"),1),fr=require("@heroicons/react/16/solid"),ha=require("class-variance-authority");var wo=require("react/jsx-runtime"),Ll=(0,ha.cva)("peer 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",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),El=(0,ha.cva)("",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),qt=pr.forwardRef(({className:e,size:t,...o},a)=>(0,wo.jsx)(Xt.Root,{ref:a,className:r(Ll({size:t}),e),...o,children:(0,wo.jsx)(Xt.Indicator,{className:r("flex items-center justify-center text-current"),children:(0,wo.jsx)(fr.CheckIcon,{className:r(El({size:t}))})})}));qt.displayName=Xt.Root.displayName;var Y=require("react/jsx-runtime"),Fl=({date:e,cusContent:t})=>{let o=null;return o=(0,ur.default)(e).lunar,(0,Y.jsxs)(Y.Fragment,{children:[t?t(e):e.getDate(),o&&(0,Y.jsx)("span",{className:"text-[8px] absolute top-1 right-0.5 leading-none luna-date hidden group-[.show-luna]:block",children:o.day})]})},Hl={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 _l({isShow:e,setIsShow:t,lang:o}){let a=No.useId();return(0,Y.jsx)("div",{className:"w-full p-3 pt-0",children:(0,Y.jsxs)("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[(0,Y.jsx)(qt,{checked:e,id:`check-show-luna-${a}`,onCheckedChange:i=>{typeof i=="boolean"&&t(i)}}),(0,Y.jsx)("label",{htmlFor:`check-show-luna-${a}`,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 zl=e=>e.getDay()===0||e.getDay()===6;function Zt({className:e,classNames:t,showOutsideDays:o=!1,enableLunaDate:a=!1,lang:i="vi",cusContentDay:n,...s}){let[c,d]=No.useState(!0);return(0,Y.jsx)(gr.DayPicker,{locale:i==="vi"?Po.vi:Po.enUS,showOutsideDays:o,className:r("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:r(ke({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:r("font-medium rounded-md w-11 text-xs text-gray-500 [&:nth-child(7)]:!text-red-600",i==="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 border-none",day:r(ke({variant:"transparent"}),"h-11 w-11 text-center text-sm p-0 aria-selected:opacity-100 aria-selected:[&:not(.day-range-middle)]:bg-pink-500 aria-selected:[&:not(.day-range-middle)]:text-white [&.day-range-end.day-range-start]:rounded-md focus-within:relative focus-within:z-20 font-semibold relative group",a&&c&&"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])]:text-pink-500 [&:not([aria-selected])]:border-gray-200",day_outside:"day-outside opacity-50 aria-selected:bg-accent/50 aria-selected:opacity-30",day_disabled:"opacity-50",day_range_middle:r("text-gray-900 !bg-pink-50 !rounded-none group/mid [&:nth-child(7)]:!text-red-600 day-range-middle",i==="vi"?"[&:nth-child(6)]:!text-red-600":"[&:nth-child(1)]:!text-red-600"),day_hidden:"invisible",...t},modifiers:{weekend:zl},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>(0,Y.jsx)(Co.ChevronLeft,{className:"h-6 w-6"}),IconRight:()=>(0,Y.jsx)(Co.ChevronRight,{className:"h-6 w-6"}),DayContent:p=>(0,Y.jsx)(Fl,{date:p.date,cusContent:n}),Months:({children:p})=>(0,Y.jsxs)("div",{className:"w-full",children:[(0,Y.jsx)("div",{className:r("flex flex-col sm:flex-row months-wrapper"),children:p}),a&&(0,Y.jsx)(_l,{isShow:c,setIsShow:d,lang:i})]})},formatters:i==="vi"?Hl:{},...s})}Zt.displayName="Calendar";var F=f(require("react"),1),yr=f(require("embla-carousel-react"),1);var Ro=require("@heroicons/react/16/solid");var vr=f(require("react"),1),br=require("@radix-ui/react-slot"),xr=require("class-variance-authority");var hr=require("react/jsx-runtime"),vt=(0,xr.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=vr.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},s)=>{let c=a?br.Slot:"button",d=r(vt({variant:t,size:o,className:e}));return(0,hr.jsx)(c,{className:d,disabled:i,ref:s,...n,children:n.children})});we.displayName="IconButton";var fe=require("react/jsx-runtime"),wr=F.createContext(null);function To(){let e=F.useContext(wr);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}var Kt=F.forwardRef(({orientation:e="horizontal",opts:t,setApi:o,plugins:a,className:i,children:n,...s},c)=>{let[d,p]=(0,yr.default)({...t,axis:e==="horizontal"?"x":"y"},a),[g,b]=F.useState(!1),[y,z]=F.useState(!1),U=F.useCallback(q=>{q&&(b(q.canScrollPrev()),z(q.canScrollNext()))},[]),te=F.useCallback(()=>{p?.scrollPrev()},[p]),I=F.useCallback(()=>{p?.scrollNext()},[p]),X=F.useCallback(q=>{q.key==="ArrowLeft"?(q.preventDefault(),te()):q.key==="ArrowRight"&&(q.preventDefault(),I())},[te,I]);return F.useEffect(()=>{!p||!o||o(p)},[p,o]),F.useEffect(()=>{if(p)return U(p),p.on("reInit",U),p.on("select",U),()=>{p?.off("select",U)}},[p,U]),(0,fe.jsx)(wr.Provider,{value:{carouselRef:d,api:p,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:te,scrollNext:I,canScrollPrev:g,canScrollNext:y},children:(0,fe.jsx)("div",{ref:c,onKeyDownCapture:X,className:r("relative",i),role:"region","aria-roledescription":"carousel",...s,children:n})})});Kt.displayName="Carousel";var Yt=F.forwardRef(({className:e,...t},o)=>{let{carouselRef:a,orientation:i}=To();return(0,fe.jsx)("div",{ref:a,className:"overflow-hidden",children:(0,fe.jsx)("div",{ref:o,className:r("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});Yt.displayName="CarouselContent";var Jt=F.forwardRef(({className:e,...t},o)=>{let{orientation:a}=To();return(0,fe.jsx)("div",{ref:o,role:"group","aria-roledescription":"slide",className:r("min-w-0 shrink-0 grow-0 basis-full",a==="horizontal"?"pl-4":"pt-4",e),...t})});Jt.displayName="CarouselItem";var eo=F.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollPrev:s,canScrollPrev:c}=To();return(0,fe.jsxs)(we,{ref:i,variant:t,size:o,className:r("absolute h-8 w-8 rounded-full",n==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!c,onClick:s,...a,children:[(0,fe.jsx)(Ro.ChevronLeftIcon,{className:"h-6 w-6"}),(0,fe.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});eo.displayName="CarouselPrevious";var to=F.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollNext:s,canScrollNext:c}=To();return(0,fe.jsxs)(we,{ref:i,variant:t,size:o,className:r("absolute h-8 w-8 rounded-full",n==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!c,onClick:s,...a,children:[(0,fe.jsx)(Ro.ChevronRightIcon,{className:"h-6 w-6"}),(0,fe.jsx)("span",{className:"sr-only",children:"Next slide"})]})});to.displayName="CarouselNext";var Nr=f(require("react"),1),Xe=f(require("@radix-ui/react-popover"),1);var ya=require("react/jsx-runtime"),Lt=Xe.Root,Et=Xe.Trigger,bt=Nr.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},i)=>(0,ya.jsx)(Xe.Portal,{children:(0,ya.jsx)(Xe.Content,{ref:i,align:t,sideOffset:o,className:r("z-50 w-72 rounded-md border border-gray-200 bg-white p-4 sm:p-5 text-gray-900 shadow-small outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));bt.displayName=Xe.Content.displayName;var oo=require("date-fns");var Pr=require("lucide-react");var ko=require("@heroicons/react/16/solid"),V=require("react/jsx-runtime"),Cr=({label:e,placeholder:t="Select a value",size:o=1,message:a,isError:i,disabled:n,dateFormat:s="dd/MM/yyyy",buttonProps:c,popoverProps:d,calendarProps:p})=>{let g=p?.selected||null;return(0,V.jsxs)("div",{children:[(0,V.jsxs)(Lt,{...d,children:[(0,V.jsx)(Et,{asChild:!0,children:(0,V.jsxs)(pe,{variant:"secondary",className:r("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",(!g||!(g instanceof Date)&&typeof g=="object"&&(!("from"in g)||!g.from))&&"text-gray-500",i&&"border-red-500 ring-red-500 ring-1"),disabled:n,...c,children:[(0,V.jsx)("span",{className:"line-clamp-1 flex-1",children:g instanceof Date?(0,oo.format)(g,s):g&&typeof g=="object"&&"from"in g&&"to"in g?(0,V.jsx)(V.Fragment,{children:g.from?g.to?(0,V.jsxs)(V.Fragment,{children:[(0,oo.format)(g.from,s)," -"," ",(0,oo.format)(g.to,s)]}):(0,oo.format)(g.from,s):t}):t}),e&&(0,V.jsx)("span",{className:r("absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",o===2&&" -top-2.5 text-sm",i&&"text-red-500"),children:e}),(0,V.jsx)(Pr.Calendar,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),(0,V.jsx)(bt,{className:"w-auto !p-0 border-none",children:(0,V.jsx)(Zt,{...p})})]}),a&&(0,V.jsxs)("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[i?(0,V.jsx)(ko.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,V.jsx)(ko.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,V.jsx)("span",{className:r(i?"text-red-500":"text-gray-500",o===2?"text-sm":"text-xs"),children:a})]})]})};var xt=f(require("react"),1),S=f(require("@radix-ui/react-alert-dialog"),1);var Ne=require("react/jsx-runtime"),Rr=S.Root,Tr=S.Trigger,wa=S.Portal,So=xt.forwardRef(({className:e,...t},o)=>(0,Ne.jsx)(S.Overlay,{className:r("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}));So.displayName=S.Overlay.displayName;var Na=xt.forwardRef(({className:e,...t},o)=>(0,Ne.jsxs)(wa,{children:[(0,Ne.jsx)(So,{}),(0,Ne.jsx)(S.Content,{ref:o,className:r("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})]}));Na.displayName=S.Content.displayName;var Pa=({className:e,...t})=>(0,Ne.jsx)("div",{className:r("flex flex-col space-y-2 text-left",e),...t});Pa.displayName="AlertDialogHeader";var Ca=({className:e,...t})=>(0,Ne.jsx)("div",{className:r("flex flex-row justify-end space-x-4",e),...t});Ca.displayName="AlertDialogFooter";var Ra=xt.forwardRef(({className:e,...t},o)=>(0,Ne.jsx)(S.Title,{ref:o,className:r("text-lg text-gray-900 font-semibold",e),...t}));Ra.displayName=S.Title.displayName;var Ta=xt.forwardRef(({className:e,...t},o)=>(0,Ne.jsx)(S.Description,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Ta.displayName=S.Description.displayName;var ka=xt.forwardRef(({className:e,...t},o)=>(0,Ne.jsx)(S.Action,{ref:o,className:r(ke({variant:"primary"}),"",e),...t}));ka.displayName=S.Action.displayName;var Sa=xt.forwardRef(({className:e,...t},o)=>(0,Ne.jsx)(S.Cancel,{ref:o,className:r(ke({variant:"secondary"}),e),...t}));Sa.displayName=S.Cancel.displayName;var ao=require("react");var Ft=require("react/jsx-runtime"),Da=(0,ao.createContext)({align:"center"}),Do=({color:e="pink",size:t="small",isTruncated:o=!1,className:a,children:i})=>{let n={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},s={small:"text-sm",large:"text-lg"};return(0,Ft.jsx)("div",{className:r("mb-1 font-semibold",n[e],s[t],o&&"truncate",a),children:i})},Mo=({tagHeading:e="h2",size:t="small",color:o="pink",isTruncated:a=!1,className:i,children:n})=>{let s=e,c={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},d={small:"lg:text-3xl text-2xl",large:"lg:text-4xl md:text-3xl text-2xl"},{align:p}=(0,ao.useContext)(Da);return(0,Ft.jsx)(s,{className:r("font-bold max-w-4xl",p==="center"?"mx-auto":p==="right"?"ml-auto":"",c[o],d[t],a&&"truncate","text-balance md:text-wrap",i),children:n})},Io=({color:e="regular",size:t="small",marginTop:o="spacingX",isTruncated:a=!1,className:i,children:n})=>{let s={regular:"text-gray-500",white:"text-white/80"},c={small:"md:text-base text-sm",large:"md:text-lg text-base"},d={none:"",spacingX:"mt-2",spacingM:"mt-3",spacingL:"mt-4",spacingXl:"mt-5",spacing2Xl:"mt-6"},{align:p}=(0,ao.useContext)(Da);return(0,Ft.jsx)("div",{className:r(p==="center"?"mx-auto max-w-2xl":p==="right"?"max-w-4xl ml-auto":"max-w-4xl",s[e],c[t],d[o],a&&"truncate",i),children:n})},Ao=({className:e,align:t="center",children:o})=>(0,Ft.jsx)("div",{className:r("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:(0,Ft.jsx)(Da.Provider,{value:{align:t},children:o})});var Lo=require("lucide-react");var Z=require("react/jsx-runtime");function Ma({current:e,total:t,onChange:o}){let a=i=>(0,Z.jsx)("li",{children:(0,Z.jsx)("button",{className:r(vt({variant:e===i?"outline":"secondary",size:"sm"})),onClick:()=>o(i),children:i})},i);return(0,Z.jsx)("nav",{role:"navigation","aria-label":"pagination",className:r("mx-auto flex w-full justify-center"),children:(0,Z.jsxs)("ul",{className:r("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&(0,Z.jsx)("li",{children:(0,Z.jsx)("button",{className:r(vt({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:(0,Z.jsx)(Lo.ChevronLeft,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((i,n)=>a(n+1)):(0,Z.jsxs)(Z.Fragment,{children:[a(1),e===1&&[a(2),a(3)],e>3&&(0,Z.jsx)("li",{children:(0,Z.jsx)("button",{className:r(vt({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e-3),children:"..."})}),e>2&&e!==1&&e!==t&&a(e-1),e>1&&e<t&&a(e),e<t-1&&e!==1&&a(e+1),e===t&&[a(t-2),a(t-1)],e<t-2&&e!==t&&(0,Z.jsx)("button",{className:r(vt({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),a(t)]}),t>1&&(0,Z.jsx)("li",{children:(0,Z.jsx)("button",{className:r(vt({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:(0,Z.jsx)(Lo.ChevronRight,{className:"h-4 w-4"})})})]})})}var Eo=f(require("react"),1),Se=f(require("@radix-ui/react-tabs"),1);var Fo=require("react/jsx-runtime"),Ht=Se.Root,ht=Eo.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...a},i)=>(0,Fo.jsx)(Se.List,{ref:i,className:r("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),...a}));ht.displayName=Se.List.displayName;var yt=Eo.forwardRef(({className:e,...t},o)=>(0,Fo.jsx)(Se.Trigger,{ref:o,className:r("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}));yt.displayName=Se.Trigger.displayName;var wt=Eo.forwardRef(({className:e,...t},o)=>(0,Fo.jsx)(Se.Content,{ref:o,className:r("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}));wt.displayName=Se.Content.displayName;var kr=require("react"),Sr=require("@heroicons/react/24/outline"),Dr=require("@heroicons/react/24/solid");var Ae=require("react/jsx-runtime"),Mr=(0,kr.forwardRef)(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,size:s,rows:c=3,...d},p)=>(0,Ae.jsxs)("div",{className:r("relative",i,t&&"mobase-text-area-error"),children:[a&&(0,Ae.jsx)("span",{className:r("mobase-text-area-label absolute bg-white -top-2.5 px-1.5 left-2 text-sm text-gray-500",s===2&&" -top-2.5 text-sm"),children:a}),(0,Ae.jsx)("textarea",{disabled:e,ref:p,className:r("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",s===2&&"text-base",n),rows:c,...d}),o&&(0,Ae.jsxs)("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?(0,Ae.jsx)(Dr.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,Ae.jsx)(Sr.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,Ae.jsx)("span",{className:r("text-gray-500 ",s===2?"text-sm":"text-xs"),children:o})]}),(0,Ae.jsx)("style",{children:`
|
|
70
|
+
`})]}),st=({className:e,children:t,title:o,shortTitle:a,qrImage:i,qrLink:n,logoQr:l,isQrForAll:c=!1,...f})=>(0,u.jsx)(nt,{...f,children:(0,u.jsx)(je,{className:r("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,u.jsx)(Ut,{className:"p-0",children:(0,u.jsxs)("div",{className:"flex flex-row flex-wrap",children:[(0,u.jsx)("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||(0,u.jsxs)("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[(0,u.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,u.jsx)("div",{className:"flex-none",children:(0,u.jsx)("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),(0,u.jsxs)("div",{className:"flex-1 pl-4",children:[(0,u.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),(0,u.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,u.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,u.jsx)("div",{className:"flex-none",children:(0,u.jsx)("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),(0,u.jsxs)("div",{className:"flex-1 pl-4",children:[(0,u.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),(0,u.jsx)("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),(0,u.jsxs)("div",{className:"flex flex-nowrap items-center",children:[(0,u.jsx)("div",{className:"flex-none",children:(0,u.jsx)("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),(0,u.jsxs)("div",{className:"flex-1 pl-4",children:[(0,u.jsx)("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),(0,u.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"," ",a||"Truy c\u1EADp ngay"]})]})]})]})}),(0,u.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,u.jsxs)("div",{className:"px-5 py-10 text-center",children:[o&&(0,u.jsx)("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),(0,u.jsxs)("div",{className:"relative",children:[c&&(0,u.jsx)("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:(0,u.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),(0,u.jsx)(Il,{img:i,isQrForAll:c,children:n&&(0,u.jsx)(pr.QRCodeSVG,{value:n,size:215,imageSettings:{src:`${l||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});var ur=require("react");var Mt=require("react"),fr=g(require("ua-parser-js"),1),Al=()=>(0,fr.default)().device.type==="mobile",Ll=typeof window<"u"?Mt.useLayoutEffect:Mt.useEffect,gr=()=>{let[e,t]=(0,Mt.useState)(!1);return Ll(()=>{t(Al())},[]),e};var Ue=require("react/jsx-runtime"),It=({action:e,newTab:t,offset:o,dialogQrProps:a,className:i,children:n,...l})=>{let[c,f]=(0,ur.useState)(!1),p=gr(),d=!!a?.qrLink,v=()=>{let X=d?a?.qrLink:e;return typeof X=="string"?X.trim():""},x=()=>{let X=v();!X&&typeof e!="function"||(typeof e=="function"?e():window.open(X,t?"_blank":"_self"))},A=(X,q=0)=>{let O=document.querySelector(X);if(!O)return;let ca=O.getBoundingClientRect().top+window.scrollY-q;window.scrollTo({top:ca,behavior:"smooth"})},V=()=>{typeof e=="string"&&e.startsWith("#")?A(e,o):x()},te=()=>(0,Ue.jsxs)(Ue.Fragment,{children:[(0,Ue.jsx)(pe,{...l,className:i,onClick:()=>f(!0),"data-name":"button-action-with-qr",children:n}),(0,Ue.jsx)(st,{...a,open:c,onOpenChange:()=>f(!1),qrLink:a?.qrLink||""})]});return d?p?a?.isQrForAll?te():(0,Ue.jsx)(pe,{...l,className:i,onClick:x,"data-name":"button-action-with-qr",children:n}):te():(0,Ue.jsx)(pe,{...l,onClick:V,className:r("cursor-pointer",i),"data-name":"button-action-without-qr",rel:"noreferrer",children:n})};var At=g(require("react"),1),yo=require("@radix-ui/react-icons"),vr=require("@radix-ui/react-slot");var ye=require("react/jsx-runtime"),ba=At.forwardRef(({className:e,...t},o)=>(0,ye.jsx)("nav",{ref:o,"aria-label":"breadcrumb",className:r("",e),...t}));ba.displayName="Breadcrumb";var xa=At.forwardRef(({className:e,...t},o)=>(0,ye.jsx)("ol",{ref:o,className:r("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...t}));xa.displayName="BreadcrumbList";var ha=At.forwardRef(({className:e,...t},o)=>(0,ye.jsx)("li",{ref:o,className:r("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));ha.displayName="BreadcrumbItem";var ya=At.forwardRef(({asChild:e,className:t,...o},a)=>(0,ye.jsx)(e?vr.Slot:"a",{ref:a,className:r("transition-colors hover:text-foreground",t),...o}));ya.displayName="BreadcrumbLink";var wa=At.forwardRef(({className:e,...t},o)=>(0,ye.jsx)("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:r("text-sm text-gray-500",e),...t}));wa.displayName="BreadcrumbPage";var Na=({children:e,className:t,...o})=>(0,ye.jsx)("li",{role:"presentation","aria-hidden":"true",className:r("text-gray-900",t),...o,children:e??(0,ye.jsx)(yo.ChevronRightIcon,{className:"w-2 h-2"})});Na.displayName="BreadcrumbSeparator";var Pa=({className:e,...t})=>(0,ye.jsxs)("span",{role:"presentation","aria-hidden":"true",className:r("flex h-5 w-5 items-center justify-center",e),...t,children:[(0,ye.jsx)(yo.DotsHorizontalIcon,{className:"w-4 h-4 text-gray-900"}),(0,ye.jsx)("span",{className:"sr-only",children:"More"})]});Pa.displayName="BreadcrumbElipssis";var No=g(require("react"),1);var Po=require("date-fns/locale"),hr=require("react-day-picker"),Co=require("lucide-react"),yr=g(require("lunisolar"),1);var br=g(require("react"),1),Qt=g(require("@radix-ui/react-checkbox"),1),xr=require("@heroicons/react/16/solid"),Ca=require("class-variance-authority");var wo=require("react/jsx-runtime"),El=(0,Ca.cva)("peer 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",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),Hl=(0,Ca.cva)("",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),Xt=br.forwardRef(({className:e,size:t,...o},a)=>(0,wo.jsx)(Qt.Root,{ref:a,className:r(El({size:t}),e),...o,children:(0,wo.jsx)(Qt.Indicator,{className:r("flex items-center justify-center text-current"),children:(0,wo.jsx)(xr.CheckIcon,{className:r(Hl({size:t}))})})}));Xt.displayName=Qt.Root.displayName;var Y=require("react/jsx-runtime"),Fl=({date:e,cusContent:t})=>{let o=null;return o=(0,yr.default)(e).lunar,(0,Y.jsxs)(Y.Fragment,{children:[t?t(e):e.getDate(),o&&(0,Y.jsx)("span",{className:"text-[8px] absolute top-1 right-0.5 leading-none luna-date hidden group-[.show-luna]:block",children:o.day})]})},_l={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 zl({isShow:e,setIsShow:t,lang:o}){let a=No.useId();return(0,Y.jsx)("div",{className:"w-full p-3 pt-0",children:(0,Y.jsxs)("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[(0,Y.jsx)(Xt,{checked:e,id:`check-show-luna-${a}`,onCheckedChange:i=>{typeof i=="boolean"&&t(i)}}),(0,Y.jsx)("label",{htmlFor:`check-show-luna-${a}`,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 Bl=e=>e.getDay()===0||e.getDay()===6;function qt({className:e,classNames:t,showOutsideDays:o=!1,enableLunaDate:a=!1,lang:i="vi",cusContentDay:n,...l}){let[c,f]=No.useState(!0);return(0,Y.jsx)(hr.DayPicker,{locale:i==="vi"?Po.vi:Po.enUS,showOutsideDays:o,className:r("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:r(Te({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:r("font-medium rounded-md w-11 text-xs text-gray-500 [&:nth-child(7)]:!text-red-600",i==="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 border-none",day:r(Te({variant:"transparent"}),"h-11 w-11 text-center text-sm p-0 aria-selected:opacity-100 aria-selected:[&:not(.day-range-middle)]:bg-pink-500 aria-selected:[&:not(.day-range-middle)]:text-white [&.day-range-end.day-range-start]:rounded-md focus-within:relative focus-within:z-20 font-semibold relative group",a&&c&&"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])]:text-pink-500 [&:not([aria-selected])]:border-gray-200",day_outside:"day-outside opacity-50 aria-selected:bg-accent/50 aria-selected:opacity-30",day_disabled:"opacity-50",day_range_middle:r("text-gray-900 !bg-pink-50 !rounded-none group/mid [&:nth-child(7)]:!text-red-600 day-range-middle",i==="vi"?"[&:nth-child(6)]:!text-red-600":"[&:nth-child(1)]:!text-red-600"),day_hidden:"invisible",...t},modifiers:{weekend:Bl},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>(0,Y.jsx)(Co.ChevronLeft,{className:"h-6 w-6"}),IconRight:()=>(0,Y.jsx)(Co.ChevronRight,{className:"h-6 w-6"}),DayContent:p=>(0,Y.jsx)(Fl,{date:p.date,cusContent:n}),Months:({children:p})=>(0,Y.jsxs)("div",{className:"w-full",children:[(0,Y.jsx)("div",{className:r("flex flex-col sm:flex-row months-wrapper"),children:p}),a&&(0,Y.jsx)(zl,{isShow:c,setIsShow:f,lang:i})]})},formatters:i==="vi"?_l:{},...l})}qt.displayName="Calendar";var _=g(require("react"),1),Rr=g(require("embla-carousel-react"),1);var Ro=require("@heroicons/react/16/solid");var wr=g(require("react"),1),Nr=require("@radix-ui/react-slot"),Pr=require("class-variance-authority");var Cr=require("react/jsx-runtime"),bt=(0,Pr.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=wr.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},l)=>{let c=a?Nr.Slot:"button",f=r(bt({variant:t,size:o,className:e}));return(0,Cr.jsx)(c,{className:f,disabled:i,ref:l,...n,children:n.children})});we.displayName="IconButton";var fe=require("react/jsx-runtime"),Tr=_.createContext(null);function To(){let e=_.useContext(Tr);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}var Zt=_.forwardRef(({orientation:e="horizontal",opts:t,setApi:o,plugins:a,className:i,children:n,...l},c)=>{let[f,p]=(0,Rr.default)({...t,axis:e==="horizontal"?"x":"y"},a),[d,v]=_.useState(!1),[x,A]=_.useState(!1),V=_.useCallback(q=>{q&&(v(q.canScrollPrev()),A(q.canScrollNext()))},[]),te=_.useCallback(()=>{p?.scrollPrev()},[p]),L=_.useCallback(()=>{p?.scrollNext()},[p]),X=_.useCallback(q=>{q.key==="ArrowLeft"?(q.preventDefault(),te()):q.key==="ArrowRight"&&(q.preventDefault(),L())},[te,L]);return _.useEffect(()=>{!p||!o||o(p)},[p,o]),_.useEffect(()=>{if(p)return V(p),p.on("reInit",V),p.on("select",V),()=>{p?.off("select",V)}},[p,V]),(0,fe.jsx)(Tr.Provider,{value:{carouselRef:f,api:p,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:te,scrollNext:L,canScrollPrev:d,canScrollNext:x},children:(0,fe.jsx)("div",{ref:c,onKeyDownCapture:X,className:r("relative",i),role:"region","aria-roledescription":"carousel",...l,children:n})})});Zt.displayName="Carousel";var Kt=_.forwardRef(({className:e,...t},o)=>{let{carouselRef:a,orientation:i}=To();return(0,fe.jsx)("div",{ref:a,className:"overflow-hidden",children:(0,fe.jsx)("div",{ref:o,className:r("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});Kt.displayName="CarouselContent";var Yt=_.forwardRef(({className:e,...t},o)=>{let{orientation:a}=To();return(0,fe.jsx)("div",{ref:o,role:"group","aria-roledescription":"slide",className:r("min-w-0 shrink-0 grow-0 basis-full",a==="horizontal"?"pl-4":"pt-4",e),...t})});Yt.displayName="CarouselItem";var Jt=_.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollPrev:l,canScrollPrev:c}=To();return(0,fe.jsxs)(we,{ref:i,variant:t,size:o,className:r("absolute h-8 w-8 rounded-full",n==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!c,onClick:l,...a,children:[(0,fe.jsx)(Ro.ChevronLeftIcon,{className:"h-6 w-6"}),(0,fe.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});Jt.displayName="CarouselPrevious";var eo=_.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollNext:l,canScrollNext:c}=To();return(0,fe.jsxs)(we,{ref:i,variant:t,size:o,className:r("absolute h-8 w-8 rounded-full",n==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!c,onClick:l,...a,children:[(0,fe.jsx)(Ro.ChevronRightIcon,{className:"h-6 w-6"}),(0,fe.jsx)("span",{className:"sr-only",children:"Next slide"})]})});eo.displayName="CarouselNext";var kr=g(require("react"),1),Qe=g(require("@radix-ui/react-popover"),1);var Ra=require("react/jsx-runtime"),Lt=Qe.Root,Et=Qe.Trigger,xt=kr.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},i)=>(0,Ra.jsx)(Qe.Portal,{children:(0,Ra.jsx)(Qe.Content,{ref:i,align:t,sideOffset:o,className:r("z-50 w-72 rounded-md border border-gray-200 bg-white p-4 sm:p-5 text-gray-900 shadow-small outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));xt.displayName=Qe.Content.displayName;var to=require("date-fns");var Sr=require("lucide-react");var ko=require("@heroicons/react/16/solid"),I=require("react/jsx-runtime"),Dr=({label:e,placeholder:t="Select a value",size:o=1,message:a,isError:i,disabled:n,dateFormat:l="dd/MM/yyyy",buttonProps:c,popoverProps:f,calendarProps:p})=>{let d=p?.selected||null;return(0,I.jsxs)("div",{children:[(0,I.jsxs)(Lt,{...f,children:[(0,I.jsx)(Et,{asChild:!0,children:(0,I.jsxs)(pe,{variant:"secondary",className:r("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",(!d||!(d instanceof Date)&&typeof d=="object"&&(!("from"in d)||!d.from))&&"text-gray-500",i&&"border-red-500 ring-red-500 ring-1"),disabled:n,...c,children:[(0,I.jsx)("div",{className:"line-clamp-1 flex-1",children:d instanceof Date?(0,to.format)(d,l):d&&typeof d=="object"&&"from"in d&&"to"in d?(0,I.jsx)(I.Fragment,{children:d.from?d.to?(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("span",{className:"date-from",children:(0,to.format)(d.from,l)})," ",(0,I.jsx)("span",{className:"date-separator",children:"-"}),(0,I.jsx)("span",{className:"date-to",children:(0,to.format)(d.to,l)})]}):(0,to.format)(d.from,l):t}):t}),e&&(0,I.jsx)("span",{className:r("absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",o===2&&" -top-2.5 text-sm",i&&"text-red-500"),children:e}),(0,I.jsx)(Sr.Calendar,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),(0,I.jsx)(xt,{className:"w-auto !p-0 border-none",children:(0,I.jsx)(qt,{...p})})]}),a&&(0,I.jsxs)("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[i?(0,I.jsx)(ko.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,I.jsx)(ko.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,I.jsx)("span",{className:r(i?"text-red-500":"text-gray-500",o===2?"text-sm":"text-xs"),children:a})]})]})};var ht=g(require("react"),1),D=g(require("@radix-ui/react-alert-dialog"),1);var Ne=require("react/jsx-runtime"),Mr=D.Root,Ir=D.Trigger,Ta=D.Portal,So=ht.forwardRef(({className:e,...t},o)=>(0,Ne.jsx)(D.Overlay,{className:r("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}));So.displayName=D.Overlay.displayName;var ka=ht.forwardRef(({className:e,...t},o)=>(0,Ne.jsxs)(Ta,{children:[(0,Ne.jsx)(So,{}),(0,Ne.jsx)(D.Content,{ref:o,className:r("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})]}));ka.displayName=D.Content.displayName;var Sa=({className:e,...t})=>(0,Ne.jsx)("div",{className:r("flex flex-col space-y-2 text-left",e),...t});Sa.displayName="AlertDialogHeader";var Da=({className:e,...t})=>(0,Ne.jsx)("div",{className:r("flex flex-row justify-end space-x-4",e),...t});Da.displayName="AlertDialogFooter";var Ma=ht.forwardRef(({className:e,...t},o)=>(0,Ne.jsx)(D.Title,{ref:o,className:r("text-lg text-gray-900 font-semibold",e),...t}));Ma.displayName=D.Title.displayName;var Ia=ht.forwardRef(({className:e,...t},o)=>(0,Ne.jsx)(D.Description,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Ia.displayName=D.Description.displayName;var Aa=ht.forwardRef(({className:e,...t},o)=>(0,Ne.jsx)(D.Action,{ref:o,className:r(Te({variant:"primary"}),"",e),...t}));Aa.displayName=D.Action.displayName;var La=ht.forwardRef(({className:e,...t},o)=>(0,Ne.jsx)(D.Cancel,{ref:o,className:r(Te({variant:"secondary"}),e),...t}));La.displayName=D.Cancel.displayName;var oo=require("react");var Ht=require("react/jsx-runtime"),Ea=(0,oo.createContext)({align:"center"}),Do=({color:e="pink",size:t="small",isTruncated:o=!1,className:a,children:i})=>{let n={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},l={small:"text-sm",large:"text-lg"};return(0,Ht.jsx)("div",{className:r("mb-1 font-semibold",n[e],l[t],o&&"truncate",a),children:i})},Mo=({tagHeading:e="h2",size:t="small",color:o="pink",isTruncated:a=!1,className:i,children:n})=>{let l=e,c={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},f={small:"lg:text-3xl text-2xl",large:"lg:text-4xl md:text-3xl text-2xl"},{align:p}=(0,oo.useContext)(Ea);return(0,Ht.jsx)(l,{className:r("font-bold max-w-4xl",p==="center"?"mx-auto":p==="right"?"ml-auto":"",c[o],f[t],a&&"truncate","text-balance md:text-wrap",i),children:n})},Io=({color:e="regular",size:t="small",marginTop:o="spacingX",isTruncated:a=!1,className:i,children:n})=>{let l={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:p}=(0,oo.useContext)(Ea);return(0,Ht.jsx)("div",{className:r(p==="center"?"mx-auto max-w-2xl":p==="right"?"max-w-4xl ml-auto":"max-w-4xl",l[e],c[t],f[o],a&&"truncate",i),children:n})},Ao=({className:e,align:t="center",children:o})=>(0,Ht.jsx)("div",{className:r("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:(0,Ht.jsx)(Ea.Provider,{value:{align:t},children:o})});var Lo=require("lucide-react");var Z=require("react/jsx-runtime");function Ha({current:e,total:t,onChange:o}){let a=i=>(0,Z.jsx)("li",{children:(0,Z.jsx)("button",{className:r(bt({variant:e===i?"outline":"secondary",size:"sm"})),onClick:()=>o(i),children:i})},i);return(0,Z.jsx)("nav",{role:"navigation","aria-label":"pagination",className:r("mx-auto flex w-full justify-center"),children:(0,Z.jsxs)("ul",{className:r("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&(0,Z.jsx)("li",{children:(0,Z.jsx)("button",{className:r(bt({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:(0,Z.jsx)(Lo.ChevronLeft,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((i,n)=>a(n+1)):(0,Z.jsxs)(Z.Fragment,{children:[a(1),e===1&&[a(2),a(3)],e>3&&(0,Z.jsx)("li",{children:(0,Z.jsx)("button",{className:r(bt({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e-3),children:"..."})}),e>2&&e!==1&&e!==t&&a(e-1),e>1&&e<t&&a(e),e<t-1&&e!==1&&a(e+1),e===t&&[a(t-2),a(t-1)],e<t-2&&e!==t&&(0,Z.jsx)("button",{className:r(bt({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),a(t)]}),t>1&&(0,Z.jsx)("li",{children:(0,Z.jsx)("button",{className:r(bt({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:(0,Z.jsx)(Lo.ChevronRight,{className:"h-4 w-4"})})})]})})}var Eo=g(require("react"),1),ke=g(require("@radix-ui/react-tabs"),1);var Ho=require("react/jsx-runtime"),Ft=ke.Root,yt=Eo.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...a},i)=>(0,Ho.jsx)(ke.List,{ref:i,className:r("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),...a}));yt.displayName=ke.List.displayName;var wt=Eo.forwardRef(({className:e,...t},o)=>(0,Ho.jsx)(ke.Trigger,{ref:o,className:r("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}));wt.displayName=ke.Trigger.displayName;var Nt=Eo.forwardRef(({className:e,...t},o)=>(0,Ho.jsx)(ke.Content,{ref:o,className:r("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}));Nt.displayName=ke.Content.displayName;var Ar=require("react"),Lr=require("@heroicons/react/24/outline"),Er=require("@heroicons/react/24/solid");var Ie=require("react/jsx-runtime"),Hr=(0,Ar.forwardRef)(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,size:l,rows:c=3,...f},p)=>(0,Ie.jsxs)("div",{className:r("relative",i,t&&"mobase-text-area-error"),children:[a&&(0,Ie.jsx)("span",{className:r("mobase-text-area-label absolute bg-white -top-2.5 px-1.5 left-2 text-sm text-gray-500",l===2&&" -top-2.5 text-sm"),children:a}),(0,Ie.jsx)("textarea",{disabled:e,ref:p,className:r("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",l===2&&"text-base",n),rows:c,...f}),o&&(0,Ie.jsxs)("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?(0,Ie.jsx)(Er.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,Ie.jsx)(Lr.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,Ie.jsx)("span",{className:r("text-gray-500 ",l===2?"text-sm":"text-xs"),children:o})]}),(0,Ie.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 zo=
|
|
97
|
+
`})]}));var zo=g(require("react"),1),Vl=1,Ol=1e6;var Fa=0;function Wl(){return Fa=(Fa+1)%Number.MAX_SAFE_INTEGER,Fa.toString()}var _a=new Map,Fr=e=>{if(_a.has(e))return;let t=setTimeout(()=>{_a.delete(e),ao({type:"REMOVE_TOAST",toastId:e})},Ol);_a.set(e,t)},Gl=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Vl)};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?Fr(o):e.toasts.forEach(a=>{Fr(a.id)}),{...e,toasts:e.toasts.map(a=>a.id===o||o===void 0?{...a,open:!1}:a)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};default:return e}},Fo=[],_o={toasts:[]};function ao(e){_o=Gl(_o,e),Fo.forEach(t=>{t(_o)})}function za({...e}){let t=Wl(),o=i=>ao({type:"UPDATE_TOAST",toast:{...i,id:t}}),a=()=>ao({type:"DISMISS_TOAST",toastId:t});return ao({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||a()}}}),{id:t,dismiss:a,update:o}}function Bo(){let[e,t]=zo.useState(_o);return zo.useEffect(()=>(Fo.push(t),()=>{let o=Fo.indexOf(t);o>-1&&Fo.splice(o,1)}),[e]),{...e,toast:za,dismiss:o=>ao({type:"DISMISS_TOAST",toastId:o})}}var Pt=g(require("react"),1),W=g(require("@radix-ui/react-toast"),1),_r=require("class-variance-authority");var lt=require("@heroicons/react/20/solid"),ge=require("react/jsx-runtime"),zr=W.Provider,Ba=Pt.forwardRef(({className:e,...t},o)=>(0,ge.jsx)(W.Viewport,{ref:o,className:r("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}));Ba.displayName=W.Viewport.displayName;var $l=(0,_r.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"}}),Va=Pt.forwardRef(({className:e,variant:t="sucess",children:o,...a},i)=>(0,ge.jsxs)(W.Root,{ref:i,className:r($l({variant:t}),e),...a,children:[(0,ge.jsxs)("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[t==="sucess"&&(0,ge.jsx)(lt.CheckCircleIcon,{className:"w-5 h-5 text-green-500"}),t==="warning"&&(0,ge.jsx)(lt.ExclamationTriangleIcon,{className:"w-5 h-5 text-yellow-500"}),t==="error"&&(0,ge.jsx)(lt.InformationCircleIcon,{className:"w-5 h-5 text-red-500"})]}),o]}));Va.displayName=W.Root.displayName;var Oa=Pt.forwardRef(({className:e,...t},o)=>(0,ge.jsx)(W.Action,{ref:o,className:r("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}));Oa.displayName=W.Action.displayName;var Wa=Pt.forwardRef(({className:e,...t},o)=>(0,ge.jsx)(W.Close,{ref:o,className:r("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,ge.jsx)(lt.XMarkIcon,{className:"h-5 w-5"})}));Wa.displayName=W.Close.displayName;var Ga=Pt.forwardRef(({className:e,...t},o)=>(0,ge.jsx)(W.Title,{ref:o,className:r("text-base font-semibold leading-tight",e),...t}));Ga.displayName=W.Title.displayName;var $a=Pt.forwardRef(({className:e,...t},o)=>(0,ge.jsx)(W.Description,{ref:o,className:r("text-sm opacity-90",e),...t}));$a.displayName=W.Description.displayName;var Xe=require("react/jsx-runtime");function Br(){let{toasts:e}=Bo();return(0,Xe.jsxs)(zr,{children:[e.map(function({id:t,title:o,description:a,action:i,...n}){return(0,Xe.jsxs)(Va,{...n,children:[(0,Xe.jsxs)("div",{className:"grid gap-2",children:[o&&(0,Xe.jsx)(Ga,{children:o}),a&&(0,Xe.jsx)($a,{children:a})]}),i,(0,Xe.jsx)(Wa,{})]},t)}),(0,Xe.jsx)(Ba,{})]})}var Vr=g(require("react"),1),Or=require("@radix-ui/react-slot"),Wr=require("class-variance-authority");var Gr=require("react/jsx-runtime"),ja=(0,Wr.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"}}),qe=Vr.forwardRef(({className:e,variant:t="default",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},l)=>{let c=a?Or.Slot:"button",f=r(ja({variant:t,size:o,className:e}));return(0,Gr.jsx)(c,{className:f,disabled:i,ref:l,...n,children:n.children})});qe.displayName="TextButton";var Ua=g(require("react"),1),Pe=g(require("@radix-ui/react-tooltip"),1);var qa=require("react/jsx-runtime"),$r=Pe.Provider,jr=Pe.Root,Ur=Pe.Trigger,Qa=Ua.forwardRef((e,t)=>(0,qa.jsx)(Pe.Arrow,{ref:t,className:r("drop-shadow-md",e.className),...e}));Qa.displayName=Pe.Arrow.displayName;var Xa=Ua.forwardRef(({className:e,type:t="dark",sideOffset:o=4,...a},i)=>(0,qa.jsx)(Pe.Content,{ref:i,sideOffset:o,className:r("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),...a}));Xa.displayName=Pe.Content.displayName;var mt=require("react"),_t=require("@heroicons/react/16/solid");var ue=require("react/jsx-runtime"),Qr=(0,mt.forwardRef)(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,withClearButton:l,size:c,onChange:f,onFocus:p,onClickClear:d,value:v,defaultValue:x,type:A="text",...V},te)=>{let[L,X]=(0,mt.useState)(!1),q=(0,mt.useRef)(null),O=de=>{de&&!L&&X(!0),!de&&L&&X(!1)},or=de=>{l&&O(de.target.value),f?.(de)},ca=de=>{l&&O(de.target.value),p?.(de)},wl=()=>{let de=q.current?.querySelector("input");de&&(d?.(de.value),de.value="",de.focus(),X(!1))};return(0,mt.useEffect)(()=>{O(x||v)},[v,x]),(0,ue.jsxs)("div",{className:r(i,t&&"mobase-text-input-error"),ref:q,children:[(0,ue.jsxs)("div",{className:"relative",children:[a&&(0,ue.jsx)("span",{className:r("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:a}),(0,ue.jsx)("input",{disabled:e,type:A,ref:te,className:r("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",n),onChange:or,onFocus:ca,value:v,defaultValue:x,...V}),l&&L&&(0,ue.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:wl,children:(0,ue.jsx)(_t.XCircleIcon,{strokeWidth:2,width:20,height:20})})]}),o&&(0,ue.jsxs)("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[t?(0,ue.jsx)(_t.XCircleIcon,{width:16,height:16,className:"text-red-500"}):(0,ue.jsx)(_t.QuestionMarkCircleIcon,{width:16,height:16,className:"text-gray-500"}),(0,ue.jsx)("span",{className:r("text-gray-500 ",c===2?"text-sm":"text-xs"),children:o})]}),(0,ue.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,26 +117,26 @@
|
|
|
117
117
|
color: rgb(var(--mobase-red-500) / 1);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
`})]})});var Vo=require("@heroicons/react/24/outline");var Oo=require("react");var Le=require("react/jsx-runtime"),ja=(0,Oo.forwardRef)(({className:e,min:t=0,max:o=10,step:a=1,defaultValue:i=0,onChangeValue:n,onDecrease:s,onIncrease:c,disabled:d=!1,...p},g)=>{let[b,y]=(0,Oo.useState)(i),z=()=>{let I=Math.min(b+a,o);y(I),n?.(I),c?.(I)},U=()=>{let I=Math.max(b-a,t);y(I),n?.(I),s?.(I)},te=I=>{let X=parseFloat(I.target.value);if(!isNaN(X)){let q=Math.max(Math.min(X,o),t);y(q),n?.(q)}};return(0,Le.jsxs)("div",{ref:g,className:r("flex items-center ",e),children:[(0,Le.jsxs)(we,{className:r(" text-pink-500 cursor-pointer w-9 h-9",d&&"text-gray-400 cursor-default"),variant:"transparent",onClick:U,disabled:d||b<=t,children:[(0,Le.jsx)(Vo.MinusCircleIcon,{className:"w-7 h-7 "}),(0,Le.jsx)("span",{className:"sr-only",children:"Decrease value"})]}),(0,Le.jsx)("input",{type:"number",value:b,onChange:te,className:"flex text-center min-w-8 w-8 h-8 border-0 bg-white text-base text-gray-900 ring-offset-none placeholder:text-gray-500 font-medium focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 shadow-none disabled:cursor-not-allowed disabled:opacity-50 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",min:t,max:o,step:a,disabled:d,...p}),(0,Le.jsxs)(we,{className:r(" text-pink-500 cursor-pointer w-9 h-9",d&&"text-gray-400 cursor-default"),variant:"transparent",onClick:z,disabled:d||b>=o,children:[(0,Le.jsx)(Vo.PlusCircleIcon,{className:"w-7 h-7 "}),(0,Le.jsx)("span",{className:"sr-only",children:"Increase value"})]})]})});ja.displayName="Stepper";var Ee=f(require("react"),1),Ze=require("@heroicons/react/16/solid"),Wr=require("@heroicons/react/24/outline"),w=f(require("@radix-ui/react-select"),1);var C=require("react/jsx-runtime"),$r=Ee.forwardRef(({className:e,children:t,label:o,message:a,size:i,isError:n,disabled:s,...c},d)=>(0,C.jsxs)("div",{ref:d,className:r("select-mobase relative",e,s?"disabled":"",n?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",i===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[o&&(0,C.jsx)("span",{className:r("mobase-select-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",i===2&&"text-sm -top-2.5",n&&"text-red-500"),children:o}),(0,C.jsx)(w.Root,{disabled:s,...c,children:t}),a&&(0,C.jsxs)("div",{className:r("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?(0,C.jsx)(Ze.XCircleIcon,{width:16,height:16}):(0,C.jsx)(Wr.QuestionMarkCircleIcon,{width:16,height:16}),(0,C.jsx)("span",{className:r(i===2?"text-sm":"text-xs"),children:a})]})]})),jr=w.Value,Qa=Ee.forwardRef(({className:e,children:t,...o},a)=>(0,C.jsxs)(w.Trigger,{ref:a,className:r("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,C.jsx)("div",{className:"line-clamp-1 text-left",children:t}),(0,C.jsx)(w.Icon,{asChild:!0,children:(0,C.jsx)(Ze.ChevronDownIcon,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));Qa.displayName=w.Trigger.displayName;var Go=Ee.forwardRef(({className:e,...t},o)=>(0,C.jsx)(w.ScrollUpButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1",e),...t,children:(0,C.jsx)(Ze.ChevronUpIcon,{className:"h-5 w-5"})}));Go.displayName=w.ScrollUpButton.displayName;var Wo=Ee.forwardRef(({className:e,...t},o)=>(0,C.jsx)(w.ScrollDownButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:(0,C.jsx)(Ze.ChevronDownIcon,{className:"h-5 w-5"})}));Wo.displayName=w.ScrollDownButton.displayName;var Ua=Ee.forwardRef(({className:e,children:t,position:o="popper",...a},i)=>(0,C.jsx)(w.Portal,{children:(0,C.jsxs)(w.Content,{ref:i,className:r("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white text-gray-900 shadow-small data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...a,children:[(0,C.jsx)(Go,{}),(0,C.jsx)(w.Viewport,{className:r("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),(0,C.jsx)(Wo,{})]})}));Ua.displayName=w.Content.displayName;var Qr=Ee.forwardRef(({className:e,children:t,...o},a)=>(0,C.jsx)(w.Group,{ref:a,className:r("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),Xa=Ee.forwardRef(({className:e,...t},o)=>(0,C.jsx)(w.Label,{ref:o,className:r("pr-2 pl-7 py-1.5 text-sm font-semibold z-[1]",e),...t}));Xa.displayName=w.Label.displayName;var Ur=Ee.forwardRef(({className:e,children:t,...o},a)=>(0,C.jsxs)(w.Item,{ref:a,className:r("relative flex w-full cursor-default select-none items-center rounded-md py-1.5 pl-7 pr-2 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,C.jsx)("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:(0,C.jsx)(w.ItemIndicator,{children:(0,C.jsx)(Ze.CheckIcon,{className:"h-4 w-4 text-pink-500"})})}),(0,C.jsx)(w.ItemText,{children:t})]})),qa=Ee.forwardRef(({className:e,...t},o)=>(0,C.jsx)(w.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));qa.displayName=w.Separator.displayName;var De=f(require("react"),1),A=f(require("@radix-ui/react-navigation-menu"),1),Xr=require("class-variance-authority"),qr=require("@heroicons/react/16/solid");var ve=require("react/jsx-runtime"),Zr=De.createContext(null),$l=({value:e,children:t})=>(0,ve.jsx)(Zr.Provider,{value:e,children:t}),jl=()=>{let e=De.useContext(Zr);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},ro=De.forwardRef(({className:e,children:t,alignDropdown:o="left",...a},i)=>(0,ve.jsx)($l,{value:{alignDropdown:o},children:(0,ve.jsx)(A.Root,{ref:i,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:t})}));ro.displayName=A.Root.displayName;var no=De.forwardRef(({className:e,...t},o)=>(0,ve.jsx)(A.List,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));no.displayName=A.List.displayName;var so=A.Item,lo=(0,Xr.cva)(ke({variant:"transparent",size:"sm"})),mo=De.forwardRef(({className:e,children:t,...o},a)=>(0,ve.jsxs)(A.Trigger,{ref:a,className:r(lo(),"group px-2",e),...o,children:[t," ",(0,ve.jsx)(qr.ChevronDownIcon,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));mo.displayName=A.Trigger.displayName;var co=De.forwardRef(({className:e,...t},o)=>{let{alignDropdown:a}=jl();return(0,ve.jsx)(A.Content,{ref:o,className:r("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",a!=="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 ",a==="left"&&"left-0",a==="right"&&"right-0",a==="center"&&" left-1/2 -translate-x-1/2 "),...t})});co.displayName=A.Content.displayName;var zt=A.Link,Ql=De.forwardRef(({className:e,...t},o)=>(0,ve.jsx)("div",{className:r("absolute left-0 top-full flex justify-center"),children:(0,ve.jsx)(A.Viewport,{className:r("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-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})}));Ql.displayName=A.Viewport.displayName;var Ul=De.forwardRef(({className:e,...t},o)=>(0,ve.jsx)(A.Indicator,{ref:o,className:r("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t,children:(0,ve.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));Ul.displayName=A.Indicator.displayName;var Kr=f(require("react"),1),po=f(require("@radix-ui/react-switch"),1);var Za=require("react/jsx-runtime"),Ka=Kr.forwardRef(({className:e,...t},o)=>(0,Za.jsx)(po.Root,{className:r("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,Za.jsx)(po.Thumb,{className:r("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")})}));Ka.displayName=po.Root.displayName;var Ct=f(require("react"),1),ct=f(require("@radix-ui/react-radio-group"),1),Yr=require("lucide-react"),Ya=require("class-variance-authority");var Bt=require("react/jsx-runtime"),Xl=(0,Ya.cva)("aspect-square 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",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),ql=(0,Ya.cva)("fill-current text-current",{variants:{size:{medium:"h-2 w-2 ",large:"w-2.5 h-2.5"}},defaultVariants:{size:"medium"}}),Jr=Ct.createContext({size:"medium"});function Zl(){let e=Ct.useContext(Jr);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var Ja=Ct.forwardRef(({className:e,size:t,...o},a)=>(0,Bt.jsx)(Jr.Provider,{value:{size:t},children:(0,Bt.jsx)(ct.Root,{className:r("grid gap-2",e),...o,ref:a})}));Ja.displayName=ct.Root.displayName;var ei=Ct.forwardRef(({className:e,...t},o)=>{let a=Zl(),{size:i}=a??{};return(0,Bt.jsx)(ct.Item,{ref:o,className:r(Xl({size:i}),e),...t,children:(0,Bt.jsx)(ct.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:(0,Bt.jsx)(Yr.Circle,{className:r(ql({size:i}))})})})});ei.displayName=ct.Item.displayName;var Fe=require("react/jsx-runtime"),Kl=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,Fe.jsx)("li",{className:"",children:(0,Fe.jsx)(zt,{asChild:!0,children:(0,Fe.jsxs)("a",{className:r(" 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:i,...s,children:[t&&(0,Fe.jsx)("div",{className:"w-7 h-7 shrink-0 mt-1",children:(0,Fe.jsx)("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),(0,Fe.jsxs)("div",{className:" ",children:[(0,Fe.jsx)("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),a&&(0,Fe.jsx)("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:a})]})]})})})},en=Kl;var Me=require("react/jsx-runtime"),Yl=({data:e,alignDropdown:t})=>(0,Me.jsx)(ro,{alignDropdown:t,children:(0,Me.jsx)(no,{children:e.map(o=>{let a=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?(0,Me.jsxs)(so,{className:"relative",children:[(0,Me.jsx)(mo,{children:o.title}),(0,Me.jsx)(co,{children:(0,Me.jsx)("ul",{className:r("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(i=>(0,Me.jsx)(en,{title:i.title,href:i.url,newTab:i.newTab,icon:o.dropDownCompact===!0?i.icon:"",children:o.dropDownCompact===!0?i.description:""},i.title))})})]},o.id):(0,Me.jsx)(so,{className:"relative",children:(0,Me.jsx)(zt,{href:o.url,className:lo(),...a,children:o.title})},o.id)})})}),tn=Yl;var jo=require("react");var $o=[.24,.25,.05,1];var nn=require("react-use"),ti=f(require("next/router"),1);var Ke=require("react/jsx-runtime"),Jl=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,Ke.jsx)("li",{className:"min-h-8",children:(0,Ke.jsxs)("a",{className:r(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:i,...s,children:[t&&(0,Ke.jsx)("div",{className:"w-6 h-6 shrink-0",children:(0,Ke.jsx)("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),(0,Ke.jsxs)("div",{className:" ",children:[(0,Ke.jsx)("div",{className:"text-sm text-gray-800 line-clamp-1",children:o}),a&&(0,Ke.jsx)("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:a})]})]})})},on=Jl;var an=require("framer-motion"),He=require("react/jsx-runtime"),em={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:$o}},exit:{opacity:0,transition:{duration:.05}}},tm=({data:e})=>(0,He.jsx)(tt,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,He.jsx)(an.motion.div,{variants:em,children:t.hasDropdown?(0,He.jsxs)(ot,{value:t.id,children:[(0,He.jsx)(at,{className:"py-3",children:t.title}),(0,He.jsx)(it,{children:(0,He.jsx)("ul",{className:r("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(a=>(0,He.jsx)(on,{title:a.title,href:a.url,newTab:a.newTab,icon:t.dropDownCompact===!0?a.icon:"",children:t.dropDownCompact===!0?a.description:""},a.title))})})]}):(0,He.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)})}),rn=tm;var _e=require("framer-motion");var v=require("react/jsx-runtime"),om=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,am=({data:e,className:t})=>{let[o,a]=(0,jo.useState)(!1);(0,nn.useKey)("Escape",()=>a(!1)),(0,jo.useEffect)(()=>{if(!o)return;let s=om();function c(){a(!1)}return document.body.style.position="fixed",document.body.style.width="100%",ti.default.events.on("routeChangeComplete",c),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:s||0,behavior:"instant"}),ti.default.events.off("routeChangeComplete",c)}},[o]);let i={visible:{opacity:1,transition:{duration:.2}},hidden:{opacity:0,transition:{duration:.2}}},n={hidden:{opacity:0},show:{opacity:1,transition:{duration:.15,staggerChildren:.05,ease:$o}},exit:{opacity:0,transition:{duration:.15}}};return(0,v.jsxs)("div",{className:r(t),children:[(0,v.jsxs)("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>a(!o),children:[(0,v.jsx)("span",{className:"sr-only",children:"Navigation"}),(0,v.jsx)(_e.motion.div,{animate:o?"hidden":"visible",variants:i,children:(0,v.jsx)("svg",{className:r("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,v.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),(0,v.jsx)(_e.motion.div,{animate:o?"visible":"hidden",variants:i,children:(0,v.jsx)("svg",{className:r("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,v.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),(0,v.jsx)(_e.LazyMotion,{features:_e.domAnimation,children:(0,v.jsx)(_e.AnimatePresence,{mode:"wait",children:o&&(0,v.jsxs)(_e.motion.nav,{variants:n,initial:"hidden",animate:"show",exit:"exit",className:r(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,v.jsx)(rn,{data:e}),(0,v.jsxs)("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[(0,v.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),(0,v.jsxs)("div",{className:"flex flex-nowrap",children:[(0,v.jsx)("div",{className:"flex-initial",children:(0,v.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,v.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),(0,v.jsx)("div",{className:"ml-3 flex-initial",children:(0,v.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,v.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),(0,v.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),(0,v.jsxs)("ul",{className:"mb-2 text-sm text-gray-500",children:[(0,v.jsxs)("li",{className:"mb-1",children:["Hotline :\xA0",(0,v.jsx)("a",{href:`tel:${$e.Support.Hotline}`,className:"text-gray-600",children:$e.Support.Hotline_Format})]}),(0,v.jsxs)("li",{className:"mb-1",children:["Email :\xA0",(0,v.jsx)("a",{href:`mailto:${$e.Support.Email}`,className:"text-gray-600",children:$e.Support.Email})]})]}),(0,v.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,v.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,v.jsx)("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:(0,v.jsx)("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:(0,v.jsxs)("g",{children:[(0,v.jsx)("title",{children:"Asset 1"}),(0,v.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 Vo=require("@heroicons/react/24/outline");var Oo=require("react");var Ae=require("react/jsx-runtime"),Za=(0,Oo.forwardRef)(({className:e,min:t=0,max:o=10,step:a=1,defaultValue:i=0,onChangeValue:n,onDecrease:l,onIncrease:c,disabled:f=!1,...p},d)=>{let[v,x]=(0,Oo.useState)(i),A=()=>{let L=Math.min(v+a,o);x(L),n?.(L),c?.(L)},V=()=>{let L=Math.max(v-a,t);x(L),n?.(L),l?.(L)},te=L=>{let X=parseFloat(L.target.value);if(!isNaN(X)){let q=Math.max(Math.min(X,o),t);x(q),n?.(q)}};return(0,Ae.jsxs)("div",{ref:d,className:r("flex items-center ",e),children:[(0,Ae.jsxs)(we,{className:r(" text-pink-500 cursor-pointer w-9 h-9",f&&"text-gray-400 cursor-default"),variant:"transparent",onClick:V,disabled:f||v<=t,children:[(0,Ae.jsx)(Vo.MinusCircleIcon,{className:"w-7 h-7 "}),(0,Ae.jsx)("span",{className:"sr-only",children:"Decrease value"})]}),(0,Ae.jsx)("input",{type:"number",value:v,onChange:te,className:"flex text-center min-w-8 w-8 h-8 border-0 bg-white text-base text-gray-900 ring-offset-none placeholder:text-gray-500 font-medium focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 shadow-none disabled:cursor-not-allowed disabled:opacity-50 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",min:t,max:o,step:a,disabled:f,...p}),(0,Ae.jsxs)(we,{className:r(" text-pink-500 cursor-pointer w-9 h-9",f&&"text-gray-400 cursor-default"),variant:"transparent",onClick:A,disabled:f||v>=o,children:[(0,Ae.jsx)(Vo.PlusCircleIcon,{className:"w-7 h-7 "}),(0,Ae.jsx)("span",{className:"sr-only",children:"Increase value"})]})]})});Za.displayName="Stepper";var Le=g(require("react"),1),Ze=require("@heroicons/react/16/solid"),Xr=require("@heroicons/react/24/outline"),w=g(require("@radix-ui/react-select"),1);var R=require("react/jsx-runtime"),qr=Le.forwardRef(({className:e,children:t,label:o,message:a,size:i,isError:n,disabled:l,...c},f)=>(0,R.jsxs)("div",{ref:f,className:r("select-mobase relative",e,l?"disabled":"",n?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",i===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[o&&(0,R.jsx)("span",{className:r("mobase-select-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",i===2&&"text-sm -top-2.5",n&&"text-red-500"),children:o}),(0,R.jsx)(w.Root,{disabled:l,...c,children:t}),a&&(0,R.jsxs)("div",{className:r("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?(0,R.jsx)(Ze.XCircleIcon,{width:16,height:16}):(0,R.jsx)(Xr.QuestionMarkCircleIcon,{width:16,height:16}),(0,R.jsx)("span",{className:r(i===2?"text-sm":"text-xs"),children:a})]})]})),Zr=w.Value,Ka=Le.forwardRef(({className:e,children:t,...o},a)=>(0,R.jsxs)(w.Trigger,{ref:a,className:r("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,R.jsx)("div",{className:"line-clamp-1 text-left",children:t}),(0,R.jsx)(w.Icon,{asChild:!0,children:(0,R.jsx)(Ze.ChevronDownIcon,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));Ka.displayName=w.Trigger.displayName;var Wo=Le.forwardRef(({className:e,...t},o)=>(0,R.jsx)(w.ScrollUpButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1",e),...t,children:(0,R.jsx)(Ze.ChevronUpIcon,{className:"h-5 w-5"})}));Wo.displayName=w.ScrollUpButton.displayName;var Go=Le.forwardRef(({className:e,...t},o)=>(0,R.jsx)(w.ScrollDownButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:(0,R.jsx)(Ze.ChevronDownIcon,{className:"h-5 w-5"})}));Go.displayName=w.ScrollDownButton.displayName;var Ya=Le.forwardRef(({className:e,children:t,position:o="popper",...a},i)=>(0,R.jsx)(w.Portal,{children:(0,R.jsxs)(w.Content,{ref:i,className:r("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white text-gray-900 shadow-small data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...a,children:[(0,R.jsx)(Wo,{}),(0,R.jsx)(w.Viewport,{className:r("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),(0,R.jsx)(Go,{})]})}));Ya.displayName=w.Content.displayName;var Kr=Le.forwardRef(({className:e,children:t,...o},a)=>(0,R.jsx)(w.Group,{ref:a,className:r("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),Ja=Le.forwardRef(({className:e,...t},o)=>(0,R.jsx)(w.Label,{ref:o,className:r("pr-2 pl-7 py-1.5 text-sm font-semibold z-[1]",e),...t}));Ja.displayName=w.Label.displayName;var Yr=Le.forwardRef(({className:e,children:t,...o},a)=>(0,R.jsxs)(w.Item,{ref:a,className:r("relative flex w-full cursor-default select-none items-center rounded-md py-1.5 pl-7 pr-2 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,R.jsx)("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:(0,R.jsx)(w.ItemIndicator,{children:(0,R.jsx)(Ze.CheckIcon,{className:"h-4 w-4 text-pink-500"})})}),(0,R.jsx)(w.ItemText,{children:t})]})),ei=Le.forwardRef(({className:e,...t},o)=>(0,R.jsx)(w.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));ei.displayName=w.Separator.displayName;var Se=g(require("react"),1),E=g(require("@radix-ui/react-navigation-menu"),1),Jr=require("class-variance-authority"),en=require("@heroicons/react/16/solid");var ve=require("react/jsx-runtime"),tn=Se.createContext(null),jl=({value:e,children:t})=>(0,ve.jsx)(tn.Provider,{value:e,children:t}),Ul=()=>{let e=Se.useContext(tn);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},io=Se.forwardRef(({className:e,children:t,alignDropdown:o="left",...a},i)=>(0,ve.jsx)(jl,{value:{alignDropdown:o},children:(0,ve.jsx)(E.Root,{ref:i,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:t})}));io.displayName=E.Root.displayName;var ro=Se.forwardRef(({className:e,...t},o)=>(0,ve.jsx)(E.List,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));ro.displayName=E.List.displayName;var no=E.Item,so=(0,Jr.cva)(Te({variant:"transparent",size:"sm"})),lo=Se.forwardRef(({className:e,children:t,...o},a)=>(0,ve.jsxs)(E.Trigger,{ref:a,className:r(so(),"group px-2",e),...o,children:[t," ",(0,ve.jsx)(en.ChevronDownIcon,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));lo.displayName=E.Trigger.displayName;var mo=Se.forwardRef(({className:e,...t},o)=>{let{alignDropdown:a}=Ul();return(0,ve.jsx)(E.Content,{ref:o,className:r("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",a!=="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 ",a==="left"&&"left-0",a==="right"&&"right-0",a==="center"&&" left-1/2 -translate-x-1/2 "),...t})});mo.displayName=E.Content.displayName;var zt=E.Link,Ql=Se.forwardRef(({className:e,...t},o)=>(0,ve.jsx)("div",{className:r("absolute left-0 top-full flex justify-center"),children:(0,ve.jsx)(E.Viewport,{className:r("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-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})}));Ql.displayName=E.Viewport.displayName;var Xl=Se.forwardRef(({className:e,...t},o)=>(0,ve.jsx)(E.Indicator,{ref:o,className:r("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t,children:(0,ve.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));Xl.displayName=E.Indicator.displayName;var on=g(require("react"),1),co=g(require("@radix-ui/react-switch"),1);var ti=require("react/jsx-runtime"),oi=on.forwardRef(({className:e,...t},o)=>(0,ti.jsx)(co.Root,{className:r("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,ti.jsx)(co.Thumb,{className:r("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")})}));oi.displayName=co.Root.displayName;var Ct=g(require("react"),1),ct=g(require("@radix-ui/react-radio-group"),1),an=require("lucide-react"),ai=require("class-variance-authority");var Bt=require("react/jsx-runtime"),ql=(0,ai.cva)("aspect-square 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",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),Zl=(0,ai.cva)("fill-current text-current",{variants:{size:{medium:"h-2 w-2 ",large:"w-2.5 h-2.5"}},defaultVariants:{size:"medium"}}),rn=Ct.createContext({size:"medium"});function Kl(){let e=Ct.useContext(rn);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var ii=Ct.forwardRef(({className:e,size:t,...o},a)=>(0,Bt.jsx)(rn.Provider,{value:{size:t},children:(0,Bt.jsx)(ct.Root,{className:r("grid gap-2",e),...o,ref:a})}));ii.displayName=ct.Root.displayName;var ri=Ct.forwardRef(({className:e,...t},o)=>{let a=Kl(),{size:i}=a??{};return(0,Bt.jsx)(ct.Item,{ref:o,className:r(ql({size:i}),e),...t,children:(0,Bt.jsx)(ct.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:(0,Bt.jsx)(an.Circle,{className:r(Zl({size:i}))})})})});ri.displayName=ct.Item.displayName;var Ee=require("react/jsx-runtime"),Yl=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let l=n?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,Ee.jsx)("li",{className:"",children:(0,Ee.jsx)(zt,{asChild:!0,children:(0,Ee.jsxs)("a",{className:r(" 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:i,...l,children:[t&&(0,Ee.jsx)("div",{className:"w-7 h-7 shrink-0 mt-1",children:(0,Ee.jsx)("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),(0,Ee.jsxs)("div",{className:" ",children:[(0,Ee.jsx)("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),a&&(0,Ee.jsx)("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:a})]})]})})})},nn=Yl;var De=require("react/jsx-runtime"),Jl=({data:e,alignDropdown:t})=>(0,De.jsx)(io,{alignDropdown:t,children:(0,De.jsx)(ro,{children:e.map(o=>{let a=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?(0,De.jsxs)(no,{className:"relative",children:[(0,De.jsx)(lo,{children:o.title}),(0,De.jsx)(mo,{children:(0,De.jsx)("ul",{className:r("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(i=>(0,De.jsx)(nn,{title:i.title,href:i.url,newTab:i.newTab,icon:o.dropDownCompact===!0?i.icon:"",children:o.dropDownCompact===!0?i.description:""},i.title))})})]},o.id):(0,De.jsx)(no,{className:"relative",children:(0,De.jsx)(zt,{href:o.url,className:so(),...a,children:o.title})},o.id)})})}),sn=Jl;var jo=require("react");var $o=[.24,.25,.05,1];var dn=require("react-use"),ni=g(require("next/router"),1);var Ke=require("react/jsx-runtime"),em=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let l=n?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,Ke.jsx)("li",{className:"min-h-8",children:(0,Ke.jsxs)("a",{className:r(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:i,...l,children:[t&&(0,Ke.jsx)("div",{className:"w-6 h-6 shrink-0",children:(0,Ke.jsx)("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),(0,Ke.jsxs)("div",{className:" ",children:[(0,Ke.jsx)("div",{className:"text-sm text-gray-800 line-clamp-1",children:o}),a&&(0,Ke.jsx)("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:a})]})]})})},ln=em;var mn=require("framer-motion"),He=require("react/jsx-runtime"),tm={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:$o}},exit:{opacity:0,transition:{duration:.05}}},om=({data:e})=>(0,He.jsx)(tt,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,He.jsx)(mn.motion.div,{variants:tm,children:t.hasDropdown?(0,He.jsxs)(ot,{value:t.id,children:[(0,He.jsx)(at,{className:"py-3",children:t.title}),(0,He.jsx)(it,{children:(0,He.jsx)("ul",{className:r("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(a=>(0,He.jsx)(ln,{title:a.title,href:a.url,newTab:a.newTab,icon:t.dropDownCompact===!0?a.icon:"",children:t.dropDownCompact===!0?a.description:""},a.title))})})]}):(0,He.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)})}),cn=om;var Fe=require("framer-motion");var b=require("react/jsx-runtime"),am=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,im=({data:e,className:t})=>{let[o,a]=(0,jo.useState)(!1);(0,dn.useKey)("Escape",()=>a(!1)),(0,jo.useEffect)(()=>{if(!o)return;let l=am();function c(){a(!1)}return document.body.style.position="fixed",document.body.style.width="100%",ni.default.events.on("routeChangeComplete",c),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:l||0,behavior:"instant"}),ni.default.events.off("routeChangeComplete",c)}},[o]);let i={visible:{opacity:1,transition:{duration:.2}},hidden:{opacity:0,transition:{duration:.2}}},n={hidden:{opacity:0},show:{opacity:1,transition:{duration:.15,staggerChildren:.05,ease:$o}},exit:{opacity:0,transition:{duration:.15}}};return(0,b.jsxs)("div",{className:r(t),children:[(0,b.jsxs)("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>a(!o),children:[(0,b.jsx)("span",{className:"sr-only",children:"Navigation"}),(0,b.jsx)(Fe.motion.div,{animate:o?"hidden":"visible",variants:i,children:(0,b.jsx)("svg",{className:r("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,b.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),(0,b.jsx)(Fe.motion.div,{animate:o?"visible":"hidden",variants:i,children:(0,b.jsx)("svg",{className:r("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,b.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),(0,b.jsx)(Fe.LazyMotion,{features:Fe.domAnimation,children:(0,b.jsx)(Fe.AnimatePresence,{mode:"wait",children:o&&(0,b.jsxs)(Fe.motion.nav,{variants:n,initial:"hidden",animate:"show",exit:"exit",className:r(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,b.jsx)(cn,{data:e}),(0,b.jsxs)("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[(0,b.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),(0,b.jsxs)("div",{className:"flex flex-nowrap",children:[(0,b.jsx)("div",{className:"flex-initial",children:(0,b.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,b.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),(0,b.jsx)("div",{className:"ml-3 flex-initial",children:(0,b.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,b.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),(0,b.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),(0,b.jsxs)("ul",{className:"mb-2 text-sm text-gray-500",children:[(0,b.jsxs)("li",{className:"mb-1",children:["Hotline :\xA0",(0,b.jsx)("a",{href:`tel:${Ge.Support.Hotline}`,className:"text-gray-600",children:Ge.Support.Hotline_Format})]}),(0,b.jsxs)("li",{className:"mb-1",children:["Email :\xA0",(0,b.jsx)("a",{href:`mailto:${Ge.Support.Email}`,className:"text-gray-600",children:Ge.Support.Email})]})]}),(0,b.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,b.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,b.jsx)("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:(0,b.jsx)("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:(0,b.jsxs)("g",{children:[(0,b.jsx)("title",{children:"Asset 1"}),(0,b.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
|
-
c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),(0,
|
|
122
|
+
c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),(0,b.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,
|
|
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,b.jsx)("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),(0,b.jsx)("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),(0,b.jsx)("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),(0,b.jsxs)("ul",{className:"mb-2 text-sm text-gray-500",children:[(0,b.jsxs)("li",{className:"mb-1",children:["Hotline :\xA0",(0,b.jsx)("a",{className:"text-gray-600",href:`tel:${Ge.Business.Phome}`,children:Ge.Business.Phome_Format})]}),(0,b.jsxs)("li",{className:"mb-1",children:["Email :\xA0",(0,b.jsxs)("a",{href:`mailto:${Ge.Business.Email}`,className:"text-gray-600",children:[" ",Ge.Business.Email]})]})]}),(0,b.jsx)("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:(0,b.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,b.jsx)("div",{className:"absolute left-1 top-1 ",children:(0,b.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),(0,b.jsx)("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,b.jsx)("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]})]})})})]})},pn=im;var fn=g(require("html-react-parser"),1);var gn=require("@heroicons/react/16/solid"),un=require("react");var G=require("react/jsx-runtime"),si=({className:e,dataMenu:t,serviceInfo:o,hasDownloadApp:a=!1,navigationRight:i,isSticky:n=!0,alignDropdown:l="left"})=>{let{logo:c,name:f,url:p}=o||{},[d,v]=(0,un.useState)(!1);return(0,G.jsxs)("div",{className:r(e,"z-40 w-full flex-none lg:z-50 ",n?"sticky top-0 ":"relative"),children:[(0,G.jsx)("div",{className:r("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),(0,G.jsx)("nav",{className:r("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:(0,G.jsxs)("div",{className:"relative flex items-center ",children:[(0,G.jsxs)("a",{href:"/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[(0,G.jsx)("span",{className:"sr-only",children:"MoMo home page"}),(0,G.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&(0,G.jsxs)("a",{href:p,title:f,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,G.jsx)("img",{src:c,className:"w-9 h-9",alt:"MoMo"}),(0,G.jsx)("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:f&&(0,fn.default)(f)})]}),(0,G.jsx)("div",{className:"relative lg:ml-2 xl:ml-4 hidden lg:flex items-center ",children:(0,G.jsx)(sn,{data:t,alignDropdown:l})}),(0,G.jsxs)("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[i&&i,a&&(0,G.jsxs)("div",{className:" hidden sm:flex",children:[(0,G.jsxs)(pe,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>v(!0),children:[" ",(0,G.jsx)(gn.ArrowDownTrayIcon,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),(0,G.jsx)(st,{open:d,onOpenChange:()=>v(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),(0,G.jsx)(pn,{data:t,className:"lg:hidden "})]})]})})]})};si.displayName="HeaderNavigation";var bn=require("react");var m=require("react/jsx-runtime"),vn=({item:e})=>(0,m.jsx)("div",{className:"mt-3 flex w-full text-sm",children:(0,m.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,m.jsx)("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:(0,m.jsx)("img",{src:e.icon,className:"absolute inset-0"})}),(0,m.jsx)("span",{className:"block ",children:e.title})]})}),rm=({primaryMenu:e,secondaryMenu:t})=>{let[o,a]=(0,bn.useState)(null);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:(0,m.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,m.jsxs)("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[(0,m.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((i,n)=>(0,m.jsx)(vn,{item:i},n))]}),(0,m.jsxs)("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[(0,m.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),(0,m.jsx)("div",{className:"flex flex-wrap",children:t?.lists?.map((i,n)=>(0,m.jsx)(vn,{item:i},n))})]}),(0,m.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,m.jsxs)("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[(0,m.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,m.jsxs)("div",{className:"mt-2 text-sm md:mt-3",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9 : "}),(0,m.jsx)("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:ir.Address})]}),(0,m.jsxs)("div",{className:"mt-1 text-sm",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"Hotline : "}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${oe.Support.Hotline}`,children:oe.Support.Hotline_Format}),(0,m.jsxs)("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),(0,m.jsxs)("div",{className:"mt-1 text-sm",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"Email : "}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${oe.Support.Email}`,children:oe.Support.Email})]}),(0,m.jsxs)("div",{className:"mt-1 text-sm",children:[(0,m.jsxs)("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${oe.Support.Phone_Ext_1}`,children:oe.Support.Phone_Ext_1_Format}),(0,m.jsx)("span",{className:"text-white text-opacity-60",children:" - "}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${oe.Support.Phone_Ext_2}`,children:oe.Support.Phone_Ext_2_Format}),(0,m.jsx)("span",{className:"text-white text-opacity-60",children:" - "}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${oe.Support.Phone_Ext_3}`,children:oe.Support.Phone_Ext_3_Format}),(0,m.jsx)("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),(0,m.jsx)("div",{className:"mt-3 flex",children:(0,m.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,m.jsxs)("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[(0,m.jsx)("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:(0,m.jsx)("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:(0,m.jsxs)("g",{children:[(0,m.jsx)("title",{children:"Asset 1"}),(0,m.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,m.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,m.jsx)("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),(0,m.jsx)("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),(0,m.jsxs)("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[(0,m.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,m.jsxs)("div",{className:"mt-2 text-sm md:mt-3",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"Hotline : "}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${oe.Business.Phome}`,children:oe.Business.Phome_Format})]}),(0,m.jsxs)("div",{className:"mt-1 text-sm",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"Email : "}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${oe.Business.Email}`,children:oe.Business.Email})]}),(0,m.jsxs)("div",{className:"mt-1 text-sm",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"Website : "}),(0,m.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,m.jsx)("div",{className:"mt-3 flex",children:(0,m.jsx)("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:(0,m.jsxs)("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[(0,m.jsx)("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:(0,m.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,m.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,m.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,m.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,m.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,m.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,m.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,m.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,m.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,m.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,m.jsx)("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,m.jsx)("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),(0,m.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,m.jsxs)("div",{className:"h-auto",children:[(0,m.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,m.jsx)("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:(0,m.jsx)("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:$t&&$t.map((i,n)=>(0,m.jsx)("li",{className:"inline-block",children:(0,m.jsx)("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:(0,m.jsx)("img",{src:i.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),(0,m.jsxs)("div",{className:"h-auto",children:[(0,m.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,m.jsxs)("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[(0,m.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,m.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),(0,m.jsx)("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:na&&na.map((i,n)=>(0,m.jsxs)("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${i.Image}) center center / contain no-repeat`},children:[(0,m.jsx)(pe,{onClick:()=>a(n),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:i.Name}),(0,m.jsx)("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),(0,m.jsx)(st,{open:o===n,onOpenChange:()=>a(null),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng",shortTitle:"T\u1EA3i ngay",qrLink:i.Link})]},n))}),(0,m.jsx)("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:(0,m.jsx)("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:$t&&$t.map((i,n)=>(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:(0,m.jsx)("img",{alt:i.Name,src:i.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),(0,m.jsxs)("div",{className:"h-auto",children:[(0,m.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,m.jsxs)("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[(0,m.jsxs)("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),(0,m.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,m.jsx)("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),(0,m.jsx)("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:(0,m.jsxs)("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[(0,m.jsxs)("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[(0,m.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),(0,m.jsxs)("div",{className:"shrink pl-3",children:[(0,m.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,m.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,m.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,m.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,m.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,m.jsx)("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),(0,m.jsx)("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),(0,m.jsxs)("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[(0,m.jsx)("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,m.jsxs)("div",{className:"mt-2 text-sm md:mt-3",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"Hotline : "}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${oe.Business.Phome}`,children:oe.Business.Phome_Format})]}),(0,m.jsxs)("div",{className:"mt-1 text-sm",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"Email : "}),(0,m.jsx)("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${oe.Business.Email}`,children:oe.Business.Email})]}),(0,m.jsxs)("div",{className:"mt-1 text-sm",children:[(0,m.jsx)("span",{className:"text-white text-opacity-50",children:"Website : "}),(0,m.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,m.jsx)("div",{className:"mt-3 flex",children:(0,m.jsx)("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:(0,m.jsxs)("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[(0,m.jsx)("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:(0,m.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,m.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,m.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,m.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,m.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,m.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,m.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,m.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,m.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,m.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,m.jsx)("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),(0,m.jsx)("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),(0,m.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,m.jsxs)("div",{className:"h-auto",children:[(0,m.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,m.jsx)("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:(0,m.jsx)("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:Gt&&Gt.map((i,n)=>(0,m.jsx)("li",{className:"inline-block",children:(0,m.jsx)("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:(0,m.jsx)("img",{src:i.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),(0,m.jsxs)("div",{className:"h-auto",children:[(0,m.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,m.jsxs)("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[(0,m.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,m.jsx)("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),(0,m.jsx)("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:da&&da.map((i,n)=>(0,m.jsxs)("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${i.Image}) center center / contain no-repeat`},children:[(0,m.jsx)(pe,{onClick:()=>a(n),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:i.Name}),(0,m.jsx)("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),(0,m.jsx)(st,{open:o===n,onOpenChange:()=>a(null),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng",shortTitle:"T\u1EA3i ngay",qrLink:i.Link})]},n))}),(0,m.jsx)("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:(0,m.jsx)("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:Gt&&Gt.map((i,n)=>(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:(0,m.jsx)("img",{alt:i.Name,src:i.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),(0,m.jsxs)("div",{className:"h-auto",children:[(0,m.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,m.jsxs)("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[(0,m.jsxs)("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),(0,m.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,m.jsx)("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),(0,m.jsx)("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:(0,m.jsxs)("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[(0,m.jsxs)("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[(0,m.jsx)("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),(0,m.jsxs)("div",{className:"shrink pl-3",children:[(0,m.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,m.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,m.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,m.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,m.jsx)("style",{children:`
|
|
129
129
|
footer .button-download {
|
|
130
130
|
max-width: 150px;
|
|
131
131
|
}
|
|
132
|
-
`})]})},
|
|
132
|
+
`})]})},xn=rm;var li=require("react/jsx-runtime"),hn=({className:e,primaryMenu:t,secondaryMenu:o})=>(0,li.jsx)("footer",{className:r("grid grid-cols-1 flex-wrap bg-gray-900",e),children:(0,li.jsx)(xn,{primaryMenu:t,secondaryMenu:o})});var Rt=g(require("react"),1);var Tt=require("react/jsx-runtime"),mi=Rt.forwardRef(({className:e,...t},o)=>(0,Tt.jsx)("div",{ref:o,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));mi.displayName="Card";var ci=Rt.forwardRef(({className:e,...t},o)=>(0,Tt.jsx)("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",e),...t}));ci.displayName="CardHeader";var di=Rt.forwardRef(({className:e,...t},o)=>(0,Tt.jsx)("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",e),...t}));di.displayName="CardTitle";var pi=Rt.forwardRef(({className:e,...t},o)=>(0,Tt.jsx)("p",{ref:o,className:r("text-sm text-muted-foreground",e),...t}));pi.displayName="CardDescription";var fi=Rt.forwardRef(({className:e,...t},o)=>(0,Tt.jsx)("div",{ref:o,className:r("p-6 pt-0",e),...t}));fi.displayName="CardContent";var gi=Rt.forwardRef(({className:e,...t},o)=>(0,Tt.jsx)("div",{ref:o,className:r("flex items-center p-6 pt-0",e),...t}));gi.displayName="CardFooter";var Ce=g(require("react"),1),ie=require("cmdk");var Uo=require("@heroicons/react/16/solid"),ee=require("react/jsx-runtime"),Qo=Ce.forwardRef(({className:e,...t},o)=>(0,ee.jsx)(ie.Command,{ref:o,className:r("flex text-gray-900 border border-gray-300 shadow-lg bg-white h-full w-full flex-col overflow-hidden rounded-md",e),...t}));Qo.displayName=ie.Command.displayName;var yn=({children:e,...t})=>(0,ee.jsx)(nt,{...t,children:(0,ee.jsx)(je,{className:"overflow-hidden p-0 shadow-lg",children:(0,ee.jsx)(Qo,{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})})}),ui=Ce.forwardRef(({className:e,onClickClear:t,classNameInput:o,...a},i)=>{let n=Ce.useRef(null),[l,c]=Ce.useState(""),f=()=>{!l||l?.length<=0||(c(""),t?.(l))};return(0,ee.jsxs)("div",{ref:n,className:r("flex items-center border-b px-2",e),"cmdk-input-wrapper":"",children:[(0,ee.jsx)(Uo.MagnifyingGlassIcon,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),(0,ee.jsx)(ie.Command.Input,{ref:i,className:r("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",o),value:l,onValueChange:c,...a}),(0,ee.jsx)(Uo.XCircleIcon,{onClick:f,className:r("ml-2 transition-all cursor-pointer h-4 w-4 duration-75 shrink-0 text-gray-500",l?.length>0?"opacity-100":"opacity-0")})]})});ui.displayName=ie.Command.Input.displayName;var vi=Ce.forwardRef(({className:e,...t},o)=>(0,ee.jsx)(ie.Command.List,{ref:o,className:r("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...t}));vi.displayName=ie.Command.List.displayName;var bi=Ce.forwardRef((e,t)=>(0,ee.jsx)(ie.Command.Empty,{ref:t,className:"py-6 text-gray-900 text-center text-sm",...e}));bi.displayName=ie.Command.Empty.displayName;var xi=Ce.forwardRef(({className:e,...t},o)=>(0,ee.jsx)(ie.Command.Group,{ref:o,className:r("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}));xi.displayName=ie.Command.Group.displayName;var hi=Ce.forwardRef(({className:e,...t},o)=>(0,ee.jsx)(ie.Command.Separator,{ref:o,className:r("-mx-1 text-gray-900 h-px bg-border",e),...t}));hi.displayName=ie.Command.Separator.displayName;var yi=Ce.forwardRef(({className:e,children:t,...o},a)=>(0,ee.jsx)(ie.Command.Item,{ref:a,className:r("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",e),...o,children:t}));yi.displayName=ie.Command.Item.displayName;var wi=({className:e,...t})=>(0,ee.jsx)("span",{className:r("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...t});wi.displayName="CommandShortcut";var wn=require("@heroicons/react/16/solid");var dt=require("react/jsx-runtime"),Nn=({className:e,value:t,label:o,children:a,placeholder:i,size:n})=>(0,dt.jsxs)("div",{className:"relative",children:[(0,dt.jsxs)(Et,{className:r("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",n===2&&"h-12 text-base",e),children:[t||a||i,(0,dt.jsx)(wn.ChevronDownIcon,{className:"h-4 w-4 text-gray-700 flex-none"})]}),o&&(0,dt.jsx)("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:o})]}),Pn=({children:e,className:t})=>(0,dt.jsx)(xt,{className:r("!p-0 border-none",t),children:e}),Cn=({open:e,onOpenChange:t,children:o})=>(0,dt.jsx)(Lt,{open:e,onOpenChange:t,children:o});var Ni=require("class-variance-authority"),Rn=require("react");var Tn=require("@heroicons/react/24/outline");var kt=require("react/jsx-runtime"),nm=(0,Ni.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"}}),sm=(0,Ni.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"}}),kn=(0,Rn.forwardRef)(({type:e="neutral",message:t="",withAction:o=!1,onClickAction:a,className:i,disabled:n,actionClassName:l,icon:c,...f},p)=>(0,kt.jsxs)("div",{ref:p,className:r("",i,nm({typeDiv:e,disabled:n})),...f,children:[(0,kt.jsxs)("div",{className:"flex items-center space-x-2",children:[c||(0,kt.jsx)(Tn.InformationCircleIcon,{className:r(sm({typeIcon:e,disabled:n})),width:20,height:20}),t&&(0,kt.jsx)("div",{children:t})]}),o&&(0,kt.jsx)(qe,{variant:"primary",onClick:()=>a?.(),className:r("",l),isDisabled:n,children:o})]}));var pt=require("react"),Sn=require("@heroicons/react/20/solid"),Dn=require("@heroicons/react/24/outline");var _e=require("react/jsx-runtime"),Mn=(0,pt.forwardRef)(({disabled:e,className:t,inputClassName:o,size:a,onChange:i,onFocus:n,onClickClear:l,value:c,defaultValue:f,type:p="text",...d},v)=>{let[x,A]=(0,pt.useState)(!1),V=(0,pt.useRef)(null),te=O=>{O&&!x&&A(!0),!O&&x&&A(!1)},L=O=>{te(O.target.value),i?.(O)},X=O=>{te(O.target.value),n?.(O)},q=()=>{let O=V.current?.querySelector("input");O&&(l?.(O.value),O.value="",O.focus(),A(!1))};return(0,pt.useEffect)(()=>{te(f||c)},[c,f]),(0,_e.jsxs)("div",{className:r(t),ref:V,children:[(0,_e.jsxs)("div",{className:"relative flex items-center",children:[(0,_e.jsx)("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 shrink-0 text-gray-500 duration-200 ",children:(0,_e.jsx)(Sn.MagnifyingGlassIcon,{className:"w-4 h-4 text-gray-500"})}),(0,_e.jsx)("input",{disabled:e,type:p,ref:v,className:r("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:L,onFocus:X,value:c,defaultValue:f,...d}),x&&(0,_e.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:q,children:(0,_e.jsx)(Dn.XCircleIcon,{strokeWidth:2,width:20,height:20})})]}),(0,_e.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 xe=f(require("@radix-ui/react-dialog"),1),Re=f(require("react"),1);var kn=require("lucide-react"),Sn=f(require("lodash"),1);var Tn=f(require("@radix-ui/react-aspect-ratio"),1),be=Tn.Root;var R=require("react/jsx-runtime"),Dn=Re.default.createContext(void 0);function Mn(){let e=(0,Re.useContext)(Dn);if(!e)throw new Error("useLightboxGalleryContext must be used within a LightboxGallery");return e}var Xo=({children:e,open:t,onOpenChange:o,className:a})=>(0,R.jsx)(Dn.Provider,{value:{open:t,onOpenChange:o},children:(0,R.jsx)(xe.Root,{open:t,onOpenChange:o,children:(0,R.jsx)("div",{className:r("lightbox-gallery",a),children:e})})}),In=({children:e,src:t,alt:o,className:a,classNameImage:i,onClick:n,ratio:s=4/3})=>{let{onOpenChange:c}=Mn(),d=()=>{n?.(),c&&c(!0)};return(0,R.jsxs)(xe.Trigger,{className:r("",a),onClick:d,children:[e,(0,R.jsx)(be,{ratio:s,className:"rounded-lg cursor-pointer",children:(0,R.jsx)("img",{src:t,alt:o,className:r("w-full h-full object-cover rounded-lg",i)})})]})},An=Re.default.forwardRef(({className:e,children:t,...o},a)=>{let{onOpenChange:i}=Mn(),n=()=>{i&&i(!1)};return(0,R.jsxs)(xe.Portal,{children:[(0,R.jsx)(xe.Overlay,{className:"bg-black fixed inset-0 bg-black/80 z-50"}),(0,R.jsxs)(xe.Content,{ref:a,className:r("fixed z-[999] w-full h-full inset-0 grid w-full mx-auto bg-black duration-200","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",e),...o,children:[t,(0,R.jsxs)(xe.Close,{onClick:n,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,R.jsx)(kn.X,{className:"h-4 w-4 mt-0.5"}),(0,R.jsx)("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]})]})]})});An.displayName=xe.Content.displayName;var qo=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:a,classNameSubHtmSideBar:i})=>{let[n,s]=(0,Re.useState)(""),[c,d]=(0,Re.useState)(),[p,g]=(0,Re.useState)(0);(0,Re.useEffect)(()=>{c&&(g(c.selectedScrollSnap()+1),c.on("select",()=>{g(c.selectedScrollSnap()+1)}))},[c]);let b=y=>{let z=Sn.default.filter(e,(te,I)=>I===(y>0?y-1:y)),U=z.length>0?z[0]?.titleImage:"";s(U)};return(0,Re.useEffect)(()=>{b(p)},[p]),(0,R.jsxs)(An,{className:"flex py-0",children:[(0,R.jsxs)("div",{className:" flex-1 relative",children:[(0,R.jsxs)("div",{className:"flex items-center text-sm justify-center absolute top-8 md:top-10 w-full",children:[p||1," / ",e?.length]}),(0,R.jsxs)(Kt,{opts:{startIndex:t},setApi:d,className:"w-full h-full relative",children:[(0,R.jsx)(Yt,{className:r("h-screen -ml-3 md:-ml-4",o?"sm:w-[calc(100vw-448px)] w-screen":"w-screen"),children:e.map((y,z)=>(0,R.jsx)(Jt,{className:"pl-6 md:pl-4",children:(0,R.jsxs)("div",{className:" w-full h-full relative pt-28 overflow-hidden flex flex-col",children:[(0,R.jsx)("div",{className:"flex-1 relative",children:(0,R.jsx)("img",{src:y.url,alt:"",className:"absolute h-full w-full object-contain"})}),(0,R.jsx)("div",{className:"flex-0",children:(0,R.jsx)("div",{className:"text-sm px-20 text-center text-white/80 my-4 flex items-center justify-center w-full",children:(0,R.jsx)("div",{className:"line-clamp-3",children:n})})})]})},z))}),(0,R.jsx)(eo,{className:"left-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"}),(0,R.jsx)(to,{className:"right-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"})]})]}),o&&(0,R.jsx)("div",{className:r("hidden md:block bg-white text-gray-900 p-6 w-full max-w-md",i),children:a})]})};var ft=f(require("react"),1),gt=f(require("@radix-ui/react-radio-group"),1);var Ln=require("lucide-react"),fo=f(require("@radix-ui/react-checkbox"),1),En=require("@heroicons/react/16/solid"),ne=require("react/jsx-runtime"),Fn=ft.createContext({hideIndicator:!1});function sm(){let e=ft.useContext(Fn);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var xi=ft.forwardRef(({className:e,hideIndicator:t=!1,...o},a)=>(0,ne.jsx)(Fn.Provider,{value:{hideIndicator:t},children:(0,ne.jsx)(gt.Root,{className:r("grid gap-2",t&&"hide-indicator",e),...o,ref:a})}));xi.displayName=gt.Root.displayName;var hi=ft.forwardRef(({className:e,children:t,...o},a)=>{let i=sm(),{hideIndicator:n}=i??{};return(0,ne.jsxs)(gt.Item,{ref:a,className:r("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,ne.jsx)("div",{className:"flex-1 min-w-0",children:t}),!n&&(0,ne.jsx)("div",{className:r("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,ne.jsx)(gt.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:(0,ne.jsx)(Ln.Circle,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});hi.displayName=gt.Item.displayName;var yi=ft.forwardRef(({className:e,children:t,...o},a)=>(0,ne.jsxs)(fo.Root,{ref:a,className:r("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,ne.jsx)("div",{className:"flex-1 min-w-0",children:t}),(0,ne.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,ne.jsx)(fo.Indicator,{className:r("flex items-center justify-center text-current"),children:(0,ne.jsx)(En.CheckIcon,{className:"h-4 w-4"})})})]}));yi.displayName=fo.Root.displayName;var Hn=require("class-variance-authority");var zn=require("react/jsx-runtime"),wi=(0,Hn.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 _n({className:e,variant:t,...o}){return(0,zn.jsx)("div",{className:r(wi({variant:t}),e),...o})}var Bn=f(require("react"),1),go=f(require("@radix-ui/react-progress"),1),Pi=require("class-variance-authority");var Ni=require("react/jsx-runtime"),lm=(0,Pi.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"}}),mm=(0,Pi.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"}}),Ci=Bn.forwardRef(({className:e,value:t,variant:o="progress",size:a="medium",disabled:i=!1,...n},s)=>(0,Ni.jsx)(go.Root,{ref:s,className:r("",mm({size:a}),e),...n,children:(0,Ni.jsx)(go.Indicator,{className:r("",lm({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));Ci.displayName=go.Root.displayName;var Vn=f(require("react"),1),Be=f(require("@radix-ui/react-slider"),1);var St=require("react/jsx-runtime"),Ri=Vn.forwardRef(({className:e,...t},o)=>(0,St.jsxs)(Be.Root,{ref:o,className:r("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[(0,St.jsx)(Be.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:(0,St.jsx)(Be.Range,{className:"absolute h-full bg-pink-500"})}),(0,St.jsx)(Be.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,St.jsx)(Be.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"})]}));Ri.displayName=Be.Root.displayName;var Xn=require("react");var W=require("react/jsx-runtime"),cm=({author:e=""})=>(0,W.jsx)("div",{className:"text-center shrink-0 text-lg font-semibold text-pink-600",children:e?.charAt(0)}),dm=({author:e,avatar:t})=>(0,W.jsx)("div",{className:"w-9 h-9 flex items-center mt-0.5 justify-center rounded-full bg-pink-200 relative overflow-hidden",children:t?(0,W.jsx)("img",{src:t,alt:e?.charAt(0),className:"shrink-0 object-cover",width:36,height:36}):(0,W.jsx)(cm,{author:e})});function pm({avatar:e="",author:t="",time:o,statusMessage:a,isOutStanding:i}){return(0,W.jsx)(W.Fragment,{children:(0,W.jsxs)("div",{className:"flex relative items-center space-x-3",children:[(0,W.jsx)(dm,{avatar:e,author:t}),(0,W.jsxs)("div",{className:"flex flex-col",children:[t&&(0,W.jsx)("div",{className:"font-semibold text-gray-900 text-sm",children:t}),(0,W.jsxs)("div",{className:"flex items-center space-x-2 text-xs",children:[o&&(0,W.jsx)("div",{className:"text-gray-400",children:o}),a&&(0,W.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,W.jsx)("div",{className:"w-1 h-1 mt-0.5 bg-gray-400 rounded-full"}),(0,W.jsx)("div",{className:"ml-2 text-pink-500",children:a})]})]})]}),i&&(0,W.jsx)("div",{className:"absolute right-1 top-0",children:(0,W.jsx)("img",{alt:"",src:"https://homepage.momocdn.net/img/momo-upload-api-230629163313-638236531936463134.png",className:"w-5",loading:"lazy"})})]})})}var On=pm;var ki=require("react");var Gn=require("@heroicons/react/20/solid"),Vt=require("react/jsx-runtime"),fm={1:"K\xE9n ng\u01B0\u1EDDi m\xEA",2:"K\xE9n ng\u01B0\u1EDDi m\xEA",3:"Ch\u01B0a \u01B0ng l\u1EAFm",4:"Ch\u01B0a \u01B0ng l\u1EAFm",5:"T\u1EA1m \u1ED5n",6:"T\u1EA1m \u1ED5n",7:"\u0110\xE1ng xem",8:"\u0110\xE1ng xem",9:"C\u1EF1c ph\u1EA9m!",10:"C\u1EF1c ph\u1EA9m!"},gm={1:"Kh\xF4ng h\xE0i l\xF2ng",2:"Ch\u01B0a \u01B0ng l\u1EAFm",3:"T\u1EA1m \u1ED5n",4:"H\xE0i l\xF2ng",5:"R\u1EA5t h\xE0i l\xF2ng"};function um({point:e,max:t,className:o}){let a=t>5?fm[e||10]:gm[e||5];return(0,Vt.jsxs)("div",{className:r("flex items-center space-x-1",o),children:[(0,Vt.jsx)(Gn.StarIcon,{className:"w-5 h-5 text-yellow-500"}),(0,Vt.jsx)("div",{className:"font-semibold text-gray-900 text-sm",children:`${e}/${t}`}),(0,Vt.jsxs)("span",{className:"font-semibold text-gray-900 text-sm",children:[" ","\xA0\xB7 ",a]})," "]})}var Wn=um;var $n=require("react"),Ti=f(require("html-react-parser"),1);var Ko=require("react/jsx-runtime"),Zo=({children:e,maxChar:t=260,textMore:o="...Xem th\xEAm",textLess:a="Thu g\u1ECDn",btnClass:i="text-blue-500",className:n=""})=>{let[s,c]=(0,$n.useState)(!0),d=()=>{c(!s)},p=(g,b,y=" ")=>g.length<=b?g:g.substring(0,g.lastIndexOf(y,b));return(0,Ko.jsxs)("div",{className:r(n),children:[s?(0,Ti.default)(p(e,t)):(0,Ti.default)(e),e.length>t&&(0,Ko.jsx)("span",{onClick:d,className:r("read-or-hide cursor-pointer text-md w-fit pl-1 hover:underline",i),children:s?o:a})]})};var Ie=require("react/jsx-runtime");function vm({content:e,thumbnails:t=[],tags:o=[],commentSideBar:a,rating:i={point:10,max:10},limitContent:n=260}){let[s,c]=(0,ki.useState)(0),[d,p]=(0,ki.useState)(!1),g=b=>{p(!0),c(b)};return(0,Ie.jsxs)("div",{className:"text-gray-700 mt-3 flex flex-col",children:[i.point>0&&(0,Ie.jsx)(Wn,{className:"mb-0.5",point:i.point,max:i.max}),e&&(0,Ie.jsx)(Zo,{className:"text-sm",maxChar:n,children:e}),o?.length>0&&(0,Ie.jsx)("div",{className:"w-full oveflow-x-auto flex items-center space-x-2 mt-2.5",children:o?.map(b=>(0,Ie.jsx)("div",{className:"w-fit rounded-full shrink-0 bg-gray-100 text-gray-700 text-xs font-semibold py-1 px-2 text-center",children:b}))}),t?.length>0&&(0,Ie.jsxs)(Xo,{open:d,onOpenChange:p,className:"grid gap-2 mt-4 overflow-hidden rounded-xl md:grid-cols-4 md:gap-2 md:rounded-none grid grid-cols-2 grid-rows-1 overflow-hidden ",children:[t?.map((b,y)=>(0,Ie.jsx)(be,{onClick:()=>g(y),className:"rounded-lg cursor-pointer object-cover",ratio:4/3,children:(0,Ie.jsx)("img",{src:b.url,alt:"",className:"w-full h-full rounded-lg object-cover"})},y)),(0,Ie.jsx)(qo,{activeSlideIndex:s,images:t?.map((b,y)=>({url:b.url,titleImage:b.titleImage,idx:y})),withSideBar:!!a,subHtmlSideBar:a})]})]})}var jn=vm;var Un=require("react/jsx-runtime");function bm({actions:e=[]}){return(0,Un.jsx)("div",{className:"flex items-center space-x-4 mt-4 text-gray-700",children:e})}var Qn=bm;var Dt=require("react/jsx-runtime"),qn=(0,Xn.forwardRef)(({avatar:e,author:t,time:o,ratingPoint:a,content:i,tags:n,thumbnails:s,actions:c=[],statusMessage:d,isReply:p,children:g,commentSideBar:b,isOutStanding:y,limitContent:z=260},U)=>(0,Dt.jsxs)("div",{ref:U,className:r("",p?"ml-4 py-4":"py-5"),children:[(0,Dt.jsx)(On,{avatar:e,author:t,time:o,statusMessage:d,isOutStanding:y}),(0,Dt.jsx)(jn,{content:i,thumbnails:s,tags:n,rating:a,commentSideBar:b,limitContent:z}),c&&c?.filter(Boolean)?.length>0&&(0,Dt.jsx)(Qn,{actions:c.filter(Boolean)}),g&&(0,Dt.jsx)("div",{className:"border-l grid grid-cols-1 divide-y divide-gray-200 ml-2 mt-3 border-l-gray-300 ",children:g})]}));var ut=f(require("react"),1),Zn=require("class-variance-authority");var Kn=require("@heroicons/react/16/solid"),Yn=require("lucide-react"),$=require("react/jsx-runtime"),xm=(0,Zn.cva)("flex items-center shrink-0 justify-center rounded-full shrink-0",{variants:{state:{active:"bg-pink-500 text-white shadow-[0_0px_0px_3px_rgb(255,255,255),0_0px_0px_4px_rgb(var(--mobase-pink-500))]",disabled:"bg-gray-400 text-gray-200",default:"text-gray-500 bg-white shadow-[inset_0px_0px_0px_1px_rgb(var(--mobase-gray-300))]",completed:"bg-pink-500 text-white"},size:{default:"h-7 w-7 text-sm",small:"h-6 w-6 text-xs"}},defaultVariants:{state:"default",size:"default"}}),Jn=ut.createContext("default");function hm(){let e=ut.useContext(Jn);if(!e)throw new Error("ProgressStepsItem must be used within a ProgressSteps");return e}var ym=ut.memo(({type:e,icon:t,stepNumber:o,size:a,isError:i,state:n})=>{let s=a==="small"?"w-3 h-3":"w-4 h-4";return i?(0,$.jsx)(Yn.XIcon,{className:s}):(0,$.jsxs)("div",{children:[e==="iconStep"&&(0,$.jsx)("div",{className:s,children:t}),e==="numberStep"&&(0,$.jsx)("div",{children:o}),e==="default"&&(n==="completed"?(0,$.jsx)(Kn.CheckIcon,{className:s}):(0,$.jsx)("div",{children:o}))]})}),es=({step:e,currentStep:t,onValueChangeStep:o,children:a})=>{let i=ut.useCallback(()=>{e!==t&&o(e)},[e,t,o]);return(0,$.jsx)("div",{onClick:i,className:"flex w-full flex-col items-center justify-center gap-1 cursor-pointer",children:a})},ts=({step:e,state:t="default",size:o="default",className:a,title:i,description:n,lastStep:s,fristStep:c,icon:d,isError:p,onValueChangeStep:g,...b})=>{let y=hm();return(0,$.jsxs)("div",{className:r("flex w-full flex-col items-center justify-center gap-1"),children:[(0,$.jsxs)("div",{className:"flex w-full items-center justify-center gap-2",children:[(0,$.jsx)("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",c&&"opacity-0",t==="active"&&"bg-pink-300",t==="completed"&&"bg-pink-300")}),(0,$.jsx)("div",{className:r("flex h-7 w-7 items-center justify-center rounded-full",xm({state:t,size:o}),p&&"bg-red-500 text-white shadow-none",a),...b,children:(0,$.jsx)(ym,{type:y,icon:d,stepNumber:e,size:o,isError:p,state:t})}),(0,$.jsx)("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",s&&"opacity-0",t==="completed"&&"bg-pink-300")})]}),(0,$.jsxs)("div",{className:"text-center w-full flex flex-col items-center mt-2 px-0.5",children:[i&&(0,$.jsx)("div",{className:"text-xs font-bold text-slate-900 ",children:i}),n&&(0,$.jsx)("div",{className:"text-xs text-gray-500 ",children:n})]})]})},os=({children:e,className:t,type:o="numberStep",...a})=>(0,$.jsx)(Jn.Provider,{value:o,children:(0,$.jsx)("div",{className:r("flex items-start justify-between w-full",t),...a,children:e})});var se=f(require("react"),1),ns=require("@radix-ui/react-slot"),Ot=require("react-hook-form");var as=f(require("react"),1),Si=f(require("@radix-ui/react-label"),1),is=require("class-variance-authority");var rs=require("react/jsx-runtime"),wm=(0,is.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Yo=as.forwardRef(({className:e,...t},o)=>(0,rs.jsx)(Si.Root,{ref:o,className:r(wm(),e),...t}));Yo.displayName=Si.Root.displayName;var Ye=require("react/jsx-runtime"),ss=Ot.FormProvider,ls=se.createContext({}),ms=({...e})=>(0,Ye.jsx)(ls.Provider,{value:{name:e.name},children:(0,Ye.jsx)(Ot.Controller,{...e})}),Gt=()=>{let e=se.useContext(ls),t=se.useContext(cs),{getFieldState:o,formState:a}=(0,Ot.useFormContext)(),i=o(e.name,a);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:n}=t;return{id:n,name:e.name,formItemId:`${n}-form-item`,formDescriptionId:`${n}-form-item-description`,formMessageId:`${n}-form-item-message`,...i}},cs=se.createContext({}),Di=se.forwardRef(({className:e,...t},o)=>{let a=se.useId();return(0,Ye.jsx)(cs.Provider,{value:{id:a},children:(0,Ye.jsx)("div",{ref:o,className:r("space-y-2",e),...t})})});Di.displayName="FormItem";var Mi=se.forwardRef(({className:e,...t},o)=>{let{error:a,formItemId:i}=Gt();return(0,Ye.jsx)(Yo,{ref:o,className:r(a&&"text-red-500","text-gray-700 ",e),htmlFor:i,...t})});Mi.displayName="FormLabel";var Ii=se.forwardRef(({...e},t)=>{let{error:o,formItemId:a,formDescriptionId:i,formMessageId:n}=Gt();return(0,Ye.jsx)(ns.Slot,{ref:t,id:a,"aria-describedby":o?`${i} ${n}`:`${i}`,"aria-invalid":!!o,...e})});Ii.displayName="FormControl";var Ai=se.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:a}=Gt();return(0,Ye.jsx)("p",{ref:o,id:a,className:r("text-[0.8rem] text-gray-500",e),...t})});Ai.displayName="FormDescription";var Li=se.forwardRef(({className:e,children:t,...o},a)=>{let{error:i,formMessageId:n}=Gt(),s=i?String(i?.message):t;return s?(0,Ye.jsx)("p",{ref:a,id:n,className:r("text-xs font-medium text-red-500",e),...o,children:s}):null});Li.displayName="FormMessage";var Je=f(require("react"),1),x=f(require("@radix-ui/react-dropdown-menu"),1),Jo=require("lucide-react");var L=require("react/jsx-runtime"),ds=x.Root,ps=x.Trigger,fs=x.Group,gs=x.Portal,us=x.Sub,vs=x.RadioGroup,Ei=Je.forwardRef(({className:e,inset:t,children:o,...a},i)=>(0,L.jsxs)(x.SubTrigger,{ref:i,className:r("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...a,children:[o,(0,L.jsx)(Jo.ChevronRight,{className:"ml-auto"})]}));Ei.displayName=x.SubTrigger.displayName;var Fi=Je.forwardRef(({className:e,...t},o)=>(0,L.jsx)(x.SubContent,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 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 ring-0",e),...t}));Fi.displayName=x.SubContent.displayName;var Hi=Je.forwardRef(({className:e,sideOffset:t=4,...o},a)=>(0,L.jsx)(x.Portal,{children:(0,L.jsx)(x.Content,{ref:a,sideOffset:t,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white p-1 text-gray-900 shadow-small data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ",e),...o})}));Hi.displayName=x.Content.displayName;var _i=Je.forwardRef(({className:e,inset:t,...o},a)=>(0,L.jsx)(x.Item,{ref:a,className:r("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 ",t&&"pl-8",e),...o}));_i.displayName=x.Item.displayName;var zi=Je.forwardRef(({className:e,children:t,checked:o,...a},i)=>(0,L.jsxs)(x.CheckboxItem,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 ",e),checked:o,...a,children:[(0,L.jsxs)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:[o===!1&&(0,L.jsx)("div",{className:"size-3.5 rounded-sm border border-gray-400 absolute inset-0"}),(0,L.jsx)(x.ItemIndicator,{children:(0,L.jsx)("div",{className:"size-3.5 rounded-sm border border-pink-500 bg-pink-500 flex items-center justify-center text-white absolute inset-0",children:(0,L.jsx)(Jo.Check,{size:16,strokeWidth:3})})})]}),t]}));zi.displayName=x.CheckboxItem.displayName;var Bi=Je.forwardRef(({className:e,children:t,...o},a)=>(0,L.jsxs)(x.RadioItem,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 ",e),...o,children:[(0,L.jsxs)("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:[(0,L.jsx)("div",{className:"size-3.5 rounded-full border border-gray-400 absolute inset-0"}),(0,L.jsx)(x.ItemIndicator,{children:(0,L.jsx)("div",{className:"size-3.5 rounded-full border-4 border-pink-500 absolute inset-0"})})]}),t]}));Bi.displayName=x.RadioItem.displayName;var Vi=Je.forwardRef(({className:e,inset:t,...o},a)=>(0,L.jsx)(x.Label,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));Vi.displayName=x.Label.displayName;var Oi=Je.forwardRef(({className:e,...t},o)=>(0,L.jsx)(x.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-gray-100",e),...t}));Oi.displayName=x.Separator.displayName;var Gi=({className:e,...t})=>(0,L.jsx)("span",{className:r("ml-auto text-xs tracking-widest opacity-60",e),...t});Gi.displayName="DropdownMenuShortcut";var me=require("react"),ea=require("lucide-react");var le=require("react/jsx-runtime"),ta=(0,me.createContext)(void 0),bs=({showGradientOverlay:e=!0,gradientOverlayColor:t="255, 255, 255",className:o,children:a})=>{let i=(0,me.useRef)(null),[n,s]=(0,me.useState)({left:!1,right:!1}),c=(0,me.useCallback)(()=>{let p=i.current;if(p){let{scrollLeft:g,scrollWidth:b,clientWidth:y}=p;s({left:g>0,right:g+y<b})}},[]);(0,me.useEffect)(()=>{let p=i.current;if(p)return c(),window.addEventListener("resize",c),p.addEventListener("scroll",c),()=>{window.removeEventListener("resize",c),p.removeEventListener("scroll",c)}},[c]);let d=p=>{let g=i.current;if(g){let b=g.clientWidth*.7*(p==="left"?-1:1);g.scrollBy({left:b,behavior:"smooth"})}};return(0,le.jsx)(ta.Provider,{value:{scrollContainerRef:i,showArrows:n,scroll:d,gradientOverlayColor:t},children:(0,le.jsxs)("div",{className:r("relative w-full",o),children:[e&&(0,le.jsxs)(le.Fragment,{children:[n.left&&(0,le.jsx)("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 z-10 pointer-events-none flex items-center w-16 h-full",style:{background:`linear-gradient( to left, rgba(255, 255, 255, 0),rgb(${t}),rgb(${t}))`}}),n.right&&(0,le.jsx)("div",{className:"absolute right-0 top-1/2 -translate-y-1/2 z-10 pointer-events-none flex items-center w-16 h-full",style:{background:`linear-gradient(to right, rgba(255, 255, 255, 0), rgb(${t}),rgb(${t}))`}})]}),a]})})},xs=({className:e,children:t})=>{let o=(0,me.useContext)(ta);if(!o)throw new Error("HorizontalContent must be used within a HorizontalScroll");return(0,le.jsx)("div",{ref:o.scrollContainerRef,className:r("overflow-x-auto scrollbar-hide scroll-smooth",e),role:"region","aria-label":"Scrollable content",children:t})},hs=({className:e,children:t,...o})=>{let a=(0,me.useContext)(ta);if(!a)throw new Error("HorizontalNavigation must be used within a HorizontalScroll");return a.showArrows.left?(0,le.jsx)(we,{className:r("pointer-events-auto rounded-full w-6 h-6 absolute left-0.5 top-1/2 -translate-y-1/2 z-10",e),onClick:()=>a.scroll("left"),"aria-label":"Scroll left",size:o.size||"sm",variant:o.variant||"secondary",...o,children:t||(0,le.jsx)(ea.ChevronLeft,{className:"h-4 w-4"})}):null},ys=({className:e,children:t,...o})=>{let a=(0,me.useContext)(ta);if(!a)throw new Error("HorizontalNavigation must be used within a HorizontalScroll");return a.showArrows.right?(0,le.jsx)(we,{className:r("pointer-events-auto rounded-full w-6 h-6 absolute right-0.5 top-1/2 -translate-y-1/2 z-10",e),onClick:()=>a.scroll("right"),"aria-label":"Scroll right",size:o.size||"sm",variant:o.variant||"secondary",...o,children:t||(0,le.jsx)(ea.ChevronRight,{className:"h-4 w-4"})}):null};var ks=require("react");var Ns=require("class-variance-authority"),Wi=f(require("html-react-parser"),1),Ps=require("lucide-react"),K=require("react/jsx-runtime"),Nm=(0,Ns.cva)("text-gray-800 list-inside mt-6",{variants:{template:{1:"grid grid-cols-1 gap-y-3 ",2:"grid grid-cols-2 md:grid-cols-4 gap-2 w-full",3:"grid grid-cols-1 md:grid-cols-4 gap-4 md:gap-12 max-w-5xl mx-auto items-center py-8 md:py-12 text-left text-sm font-semibold space-y-1"}},defaultVariants:{template:1}}),ws=({template:e,name:t,description:o,image:a,idx:i,value:n,suffix:s,unit:c})=>(0,K.jsx)(K.Fragment,{children:(()=>{switch(e){case 1:case 3:return(0,K.jsxs)("li",{className:"flex items-center space-x-4",children:[a?(0,K.jsx)("div",{className:"w-10 h-10 flex justify-center items-center shrink-0",children:(0,K.jsx)("img",{src:a,alt:"",className:"max-w-full"})}):(0,K.jsx)("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:(0,K.jsx)(Ps.CheckIcon,{className:"w-4 h-4 text-pink-500"})}),t&&(0,K.jsx)("div",{className:"ml-2 leading-tight",children:(0,Wi.default)(t)})]});case 2:return(0,K.jsxs)("div",{className:r("odd:border-0 odd:pr-4 even:pl-4 even:border-l border-gray-200 md:border-l md:odd:border-l md:odd:pr-0",i>0?"md:pl-4":"md:!border-0"),children:[n&&(0,K.jsxs)("div",{className:"font-bold text-gray-900 line-clamp-2",children:[n,(s||c)&&(0,K.jsxs)("span",{children:[s," ",c]})]}),o&&(0,K.jsx)("div",{className:"text-sm mt-1 text-gray-500 leading-tight",children:(0,Wi.default)(o)})]});default:return null}})()}),oa=({dataFeatures:e,template:t=1,dataStats:o})=>(0,K.jsxs)("ul",{className:r("",Nm({template:t})),children:[(t===1||t===3)&&e?.map((a,i)=>(0,K.jsx)(ws,{name:a?.name,template:t,image:a?.image,idx:i},i)),t===2&&o?.map((a,i)=>(0,K.jsx)(ws,{value:a?.value,suffix:a?.suffix,unit:a?.unit,template:t,description:a?.description,idx:i},i))]});var H=require("react/jsx-runtime"),Cs=e=>typeof e=="string"?e?.split("/")?.map(Number)?.reduce((a,i)=>a/i):e,Pm=({src:e,ratio:t,className:o,youtubeId:a,onClickFC:i=()=>{}})=>(0,H.jsxs)(be,{className:r(""),ratio:Cs(t),children:[(0,H.jsx)("img",{src:e,className:r("w-full h-full object-cover md:block hidden",o,e?"":"bg-gray-200"),alt:""}),a&&(0,H.jsx)("div",{className:"aspect-[16/9] realtive overflow-hidden w-full md:hidden",children:(0,H.jsx)("iframe",{title:a,src:`https://www.youtube.com/embed/${a}?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"})}),a&&(0,H.jsxs)(nt,{children:[(0,H.jsx)(xo,{onClick:i,children:(0,H.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,H.jsx)("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:(0,H.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,H.jsx)("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),(0,H.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,H.jsx)(Qe,{hideCloseBtn:!0,className:"w-full h-full !shadow-none !bg-transparent flex items-center justify-center bg-gray-900 p-0",children:(0,H.jsx)("iframe",{width:738,height:439,title:a,src:`https://www.youtube.com/embed/${a}?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:""})})]})]}),uo=({type:e=1,src:t,ratio:o,className:a,youtubeId:i,onClickFC:n=()=>{}})=>(0,H.jsx)(H.Fragment,{children:i?(0,H.jsx)(Pm,{type:e,src:t,ratio:o,youtubeId:i,onClickFC:n}):(0,H.jsx)(be,{className:r(""),ratio:Cs(o),children:(0,H.jsx)("img",{src:t,className:r("w-full h-full object-cover",a,t?"":"bg-gray-200"),alt:""})})});var aa=f(require("html-react-parser"),1);var Ve=require("react/jsx-runtime"),ce=({idSection:e,className:t,background:o,children:a})=>(0,Ve.jsx)("section",{id:e,className:r("block-section py-8 md:py-10 lg:py-14",t),style:{background:o},children:(0,Ve.jsx)("div",{className:"wrapper relative",children:a})}),T=({align:e="center",tagline:t,title:o,description:a,tagHeading:i="h2",colorScheme:n="pink",sizeHeading:s="small",className:c})=>{let d=n==="black"?"pink":n==="pink"?"regular":"white",p=n==="pink"?"pink":n==="white"?"white":"regular",g=n==="white"?"white":"regular";return(0,Ve.jsxs)(Ao,{align:e,className:c,children:[t&&(0,Ve.jsx)(Do,{color:d,children:t}),o&&(0,Ve.jsx)(Mo,{tagHeading:i,color:p,size:s,children:(0,aa.default)(o)}),a&&(0,Ve.jsx)(Io,{color:g,marginTop:s==="large"?"spacing2Xl":"spacingX",children:(0,aa.default)(a)})]})},D=({align:e,isFullInMobile:t=!1,buttons:o,className:a})=>o?.length===0?null:(0,Ve.jsx)("div",{className:r("buttons-block mt-8 md:mt-10 flex gap-4 w-full",e==="center"&&"justify-center",e==="right"&&"justify-end",t&&"flex-wrap md:flex-nowrap",a),children:o?.slice(0,2).map((i,n)=>{let{btnName:s,...c}=i;return(0,Ve.jsx)(It,{...c,className:r(t&&"w-full md:w-auto",i?.className),children:(0,aa.default)(s)},n)})});var k=require("react/jsx-runtime"),$i=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>(0,k.jsxs)("div",{className:r("grid grid-cols-1 md:grid-cols-2 md:gap-6 gap-8 items-center"),children:[(0,k.jsxs)("div",{className:"col-span-1 ",children:[(0,k.jsx)(T,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"left",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:`${e?.className} mb-0 md:mb-0`}),(0,k.jsx)(oa,{dataFeatures:o,template:a,dataStats:i}),t&&(0,k.jsx)(D,{align:"left",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})]}),(0,k.jsx)("div",{className:"col-span-1 md:pl-10",children:s||(0,k.jsx)(uo,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})]}),Rs=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>(0,k.jsxs)("div",{className:r("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,k.jsx)("div",{className:"col-span-1 hidden md:block",children:s||(0,k.jsx)(uo,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),(0,k.jsxs)("div",{className:"col-span-1",children:[(0,k.jsx)(T,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"left",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:e?.className}),(0,k.jsx)(oa,{dataFeatures:o,template:a,dataStats:i}),(0,k.jsx)("div",{className:"md:hidden mt-10",children:s||(0,k.jsx)(uo,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),t&&(0,k.jsx)("div",{className:"w-full flex items-center justify-center md:justify-start",children:(0,k.jsx)(D,{align:"left",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})})]})]}),Ts=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(T,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"center",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:`${e?.className||""} mb-0 md:mb-0`}),t&&(0,k.jsx)(D,{align:"center",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center"}),(0,k.jsx)(oa,{dataFeatures:o,template:a,dataStats:i}),s||(0,k.jsx)(uo,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId,className:"rounded-lg"})]});var Oe=require("react/jsx-runtime"),Cm=`var(
|
|
139
|
+
`})]})});var xe=g(require("@radix-ui/react-dialog"),1),Re=g(require("react"),1);var An=require("lucide-react"),Ln=g(require("lodash"),1);var In=g(require("@radix-ui/react-aspect-ratio"),1),be=In.Root;var T=require("react/jsx-runtime"),En=Re.default.createContext(void 0);function Hn(){let e=(0,Re.useContext)(En);if(!e)throw new Error("useLightboxGalleryContext must be used within a LightboxGallery");return e}var Xo=({children:e,open:t,onOpenChange:o,className:a})=>(0,T.jsx)(En.Provider,{value:{open:t,onOpenChange:o},children:(0,T.jsx)(xe.Root,{open:t,onOpenChange:o,children:(0,T.jsx)("div",{className:r("lightbox-gallery",a),children:e})})}),Fn=({children:e,src:t,alt:o,className:a,classNameImage:i,onClick:n,ratio:l=4/3})=>{let{onOpenChange:c}=Hn(),f=()=>{n?.(),c&&c(!0)};return(0,T.jsxs)(xe.Trigger,{className:r("",a),onClick:f,children:[e,(0,T.jsx)(be,{ratio:l,className:"rounded-lg cursor-pointer",children:(0,T.jsx)("img",{src:t,alt:o,className:r("w-full h-full object-cover rounded-lg",i)})})]})},_n=Re.default.forwardRef(({className:e,children:t,...o},a)=>{let{onOpenChange:i}=Hn(),n=()=>{i&&i(!1)};return(0,T.jsxs)(xe.Portal,{children:[(0,T.jsx)(xe.Overlay,{className:"bg-black fixed inset-0 bg-black/80 z-50"}),(0,T.jsxs)(xe.Content,{ref:a,className:r("fixed z-[999] w-full h-full inset-0 grid w-full mx-auto bg-black duration-200","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",e),...o,children:[t,(0,T.jsxs)(xe.Close,{onClick:n,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,T.jsx)(An.X,{className:"h-4 w-4 mt-0.5"}),(0,T.jsx)("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]})]})]})});_n.displayName=xe.Content.displayName;var qo=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:a,classNameSubHtmSideBar:i})=>{let[n,l]=(0,Re.useState)(""),[c,f]=(0,Re.useState)(),[p,d]=(0,Re.useState)(0);(0,Re.useEffect)(()=>{c&&(d(c.selectedScrollSnap()+1),c.on("select",()=>{d(c.selectedScrollSnap()+1)}))},[c]);let v=x=>{let A=Ln.default.filter(e,(te,L)=>L===(x>0?x-1:x)),V=A.length>0?A[0]?.titleImage:"";l(V)};return(0,Re.useEffect)(()=>{v(p)},[p]),(0,T.jsxs)(_n,{className:"flex py-0",children:[(0,T.jsxs)("div",{className:" flex-1 relative",children:[(0,T.jsxs)("div",{className:"flex items-center text-sm justify-center absolute top-8 md:top-10 w-full",children:[p||1," / ",e?.length]}),(0,T.jsxs)(Zt,{opts:{startIndex:t},setApi:f,className:"w-full h-full relative",children:[(0,T.jsx)(Kt,{className:r("h-screen -ml-3 md:-ml-4",o?"sm:w-[calc(100vw-448px)] w-screen":"w-screen"),children:e.map((x,A)=>(0,T.jsx)(Yt,{className:"pl-6 md:pl-4",children:(0,T.jsxs)("div",{className:" w-full h-full relative pt-28 overflow-hidden flex flex-col",children:[(0,T.jsx)("div",{className:"flex-1 relative",children:(0,T.jsx)("img",{src:x.url,alt:"",className:"absolute h-full w-full object-contain"})}),(0,T.jsx)("div",{className:"flex-0",children:(0,T.jsx)("div",{className:"text-sm px-20 text-center text-white/80 my-4 flex items-center justify-center w-full",children:(0,T.jsx)("div",{className:"line-clamp-3",children:n})})})]})},A))}),(0,T.jsx)(Jt,{className:"left-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"}),(0,T.jsx)(eo,{className:"right-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"})]})]}),o&&(0,T.jsx)("div",{className:r("hidden md:block bg-white text-gray-900 p-6 w-full max-w-md",i),children:a})]})};var ft=g(require("react"),1),gt=g(require("@radix-ui/react-radio-group"),1);var zn=require("lucide-react"),po=g(require("@radix-ui/react-checkbox"),1),Bn=require("@heroicons/react/16/solid"),ne=require("react/jsx-runtime"),Vn=ft.createContext({hideIndicator:!1});function lm(){let e=ft.useContext(Vn);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var Pi=ft.forwardRef(({className:e,hideIndicator:t=!1,...o},a)=>(0,ne.jsx)(Vn.Provider,{value:{hideIndicator:t},children:(0,ne.jsx)(gt.Root,{className:r("grid gap-2",t&&"hide-indicator",e),...o,ref:a})}));Pi.displayName=gt.Root.displayName;var Ci=ft.forwardRef(({className:e,children:t,...o},a)=>{let i=lm(),{hideIndicator:n}=i??{};return(0,ne.jsxs)(gt.Item,{ref:a,className:r("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,ne.jsx)("div",{className:"flex-1 min-w-0",children:t}),!n&&(0,ne.jsx)("div",{className:r("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,ne.jsx)(gt.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:(0,ne.jsx)(zn.Circle,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});Ci.displayName=gt.Item.displayName;var Ri=ft.forwardRef(({className:e,children:t,...o},a)=>(0,ne.jsxs)(po.Root,{ref:a,className:r("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,ne.jsx)("div",{className:"flex-1 min-w-0",children:t}),(0,ne.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,ne.jsx)(po.Indicator,{className:r("flex items-center justify-center text-current"),children:(0,ne.jsx)(Bn.CheckIcon,{className:"h-4 w-4"})})})]}));Ri.displayName=po.Root.displayName;var On=require("class-variance-authority");var Gn=require("react/jsx-runtime"),Ti=(0,On.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 Wn({className:e,variant:t,...o}){return(0,Gn.jsx)("div",{className:r(Ti({variant:t}),e),...o})}var $n=g(require("react"),1),fo=g(require("@radix-ui/react-progress"),1),Si=require("class-variance-authority");var ki=require("react/jsx-runtime"),mm=(0,Si.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"}}),cm=(0,Si.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"}}),Di=$n.forwardRef(({className:e,value:t,variant:o="progress",size:a="medium",disabled:i=!1,...n},l)=>(0,ki.jsx)(fo.Root,{ref:l,className:r("",cm({size:a}),e),...n,children:(0,ki.jsx)(fo.Indicator,{className:r("",mm({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));Di.displayName=fo.Root.displayName;var Un=require("react/jsx-runtime");function jn({className:e,...t}){return(0,Un.jsx)("div",{className:r("animate-pulse rounded-md bg-gray-200",e),...t})}var Qn=g(require("react"),1),ze=g(require("@radix-ui/react-slider"),1);var St=require("react/jsx-runtime"),Mi=Qn.forwardRef(({className:e,...t},o)=>(0,St.jsxs)(ze.Root,{ref:o,className:r("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[(0,St.jsx)(ze.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:(0,St.jsx)(ze.Range,{className:"absolute h-full bg-pink-500"})}),(0,St.jsx)(ze.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,St.jsx)(ze.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"})]}));Mi.displayName=ze.Root.displayName;var ts=require("react");var $=require("react/jsx-runtime"),dm=({author:e=""})=>(0,$.jsx)("div",{className:"text-center shrink-0 text-lg font-semibold text-pink-600",children:e?.charAt(0)}),pm=({author:e,avatar:t})=>(0,$.jsx)("div",{className:"w-9 h-9 flex items-center mt-0.5 justify-center rounded-full bg-pink-200 relative overflow-hidden",children:t?(0,$.jsx)("img",{src:t,alt:e?.charAt(0),className:"shrink-0 object-cover",width:36,height:36}):(0,$.jsx)(dm,{author:e})});function fm({avatar:e="",author:t="",time:o,statusMessage:a,isOutStanding:i}){return(0,$.jsx)($.Fragment,{children:(0,$.jsxs)("div",{className:"flex relative items-center space-x-3",children:[(0,$.jsx)(pm,{avatar:e,author:t}),(0,$.jsxs)("div",{className:"flex flex-col",children:[t&&(0,$.jsx)("div",{className:"font-semibold text-gray-900 text-sm",children:t}),(0,$.jsxs)("div",{className:"flex items-center space-x-2 text-xs",children:[o&&(0,$.jsx)("div",{className:"text-gray-400",children:o}),a&&(0,$.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,$.jsx)("div",{className:"w-1 h-1 mt-0.5 bg-gray-400 rounded-full"}),(0,$.jsx)("div",{className:"ml-2 text-pink-500",children:a})]})]})]}),i&&(0,$.jsx)("div",{className:"absolute right-1 top-0",children:(0,$.jsx)("img",{alt:"",src:"https://homepage.momocdn.net/img/momo-upload-api-230629163313-638236531936463134.png",className:"w-5",loading:"lazy"})})]})})}var Xn=fm;var Ai=require("react");var qn=require("@heroicons/react/20/solid"),Vt=require("react/jsx-runtime"),gm={1:"K\xE9n ng\u01B0\u1EDDi m\xEA",2:"K\xE9n ng\u01B0\u1EDDi m\xEA",3:"Ch\u01B0a \u01B0ng l\u1EAFm",4:"Ch\u01B0a \u01B0ng l\u1EAFm",5:"T\u1EA1m \u1ED5n",6:"T\u1EA1m \u1ED5n",7:"\u0110\xE1ng xem",8:"\u0110\xE1ng xem",9:"C\u1EF1c ph\u1EA9m!",10:"C\u1EF1c ph\u1EA9m!"},um={1:"Kh\xF4ng h\xE0i l\xF2ng",2:"Ch\u01B0a \u01B0ng l\u1EAFm",3:"T\u1EA1m \u1ED5n",4:"H\xE0i l\xF2ng",5:"R\u1EA5t h\xE0i l\xF2ng"};function vm({point:e,max:t,className:o}){let a=t>5?gm[e||10]:um[e||5];return(0,Vt.jsxs)("div",{className:r("flex items-center space-x-1",o),children:[(0,Vt.jsx)(qn.StarIcon,{className:"w-5 h-5 text-yellow-500"}),(0,Vt.jsx)("div",{className:"font-semibold text-gray-900 text-sm",children:`${e}/${t}`}),(0,Vt.jsxs)("span",{className:"font-semibold text-gray-900 text-sm",children:[" ","\xA0\xB7 ",a]})," "]})}var Zn=vm;var Kn=require("react"),Ii=g(require("html-react-parser"),1);var Ko=require("react/jsx-runtime"),Zo=({children:e,maxChar:t=260,textMore:o="...Xem th\xEAm",textLess:a="Thu g\u1ECDn",btnClass:i="text-blue-500",className:n=""})=>{let[l,c]=(0,Kn.useState)(!0),f=()=>{c(!l)},p=(d,v,x=" ")=>d.length<=v?d:d.substring(0,d.lastIndexOf(x,v));return(0,Ko.jsxs)("div",{className:r(n),children:[l?(0,Ii.default)(p(e,t)):(0,Ii.default)(e),e.length>t&&(0,Ko.jsx)("span",{onClick:f,className:r("read-or-hide cursor-pointer text-md w-fit pl-1 hover:underline",i),children:l?o:a})]})};var Me=require("react/jsx-runtime");function bm({content:e,thumbnails:t=[],tags:o=[],commentSideBar:a,rating:i={point:10,max:10},limitContent:n=260}){let[l,c]=(0,Ai.useState)(0),[f,p]=(0,Ai.useState)(!1),d=v=>{p(!0),c(v)};return(0,Me.jsxs)("div",{className:"text-gray-700 mt-3 flex flex-col",children:[i.point>0&&(0,Me.jsx)(Zn,{className:"mb-0.5",point:i.point,max:i.max}),e&&(0,Me.jsx)(Zo,{className:"text-sm",maxChar:n,children:e}),o?.length>0&&(0,Me.jsx)("div",{className:"w-full oveflow-x-auto flex items-center space-x-2 mt-2.5",children:o?.map(v=>(0,Me.jsx)("div",{className:"w-fit rounded-full shrink-0 bg-gray-100 text-gray-700 text-xs font-semibold py-1 px-2 text-center",children:v}))}),t?.length>0&&(0,Me.jsxs)(Xo,{open:f,onOpenChange:p,className:"grid gap-2 mt-4 overflow-hidden rounded-xl md:grid-cols-4 md:gap-2 md:rounded-none grid grid-cols-2 grid-rows-1 overflow-hidden ",children:[t?.map((v,x)=>(0,Me.jsx)(be,{onClick:()=>d(x),className:"rounded-lg cursor-pointer object-cover",ratio:4/3,children:(0,Me.jsx)("img",{src:v.url,alt:"",className:"w-full h-full rounded-lg object-cover"})},x)),(0,Me.jsx)(qo,{activeSlideIndex:l,images:t?.map((v,x)=>({url:v.url,titleImage:v.titleImage,idx:x})),withSideBar:!!a,subHtmlSideBar:a})]})]})}var Yn=bm;var es=require("react/jsx-runtime");function xm({actions:e=[]}){return(0,es.jsx)("div",{className:"flex items-center space-x-4 mt-4 text-gray-700",children:e})}var Jn=xm;var Dt=require("react/jsx-runtime"),os=(0,ts.forwardRef)(({avatar:e,author:t,time:o,ratingPoint:a,content:i,tags:n,thumbnails:l,actions:c=[],statusMessage:f,isReply:p,children:d,commentSideBar:v,isOutStanding:x,limitContent:A=260},V)=>(0,Dt.jsxs)("div",{ref:V,className:r("",p?"ml-4 py-4":"py-5"),children:[(0,Dt.jsx)(Xn,{avatar:e,author:t,time:o,statusMessage:f,isOutStanding:x}),(0,Dt.jsx)(Yn,{content:i,thumbnails:l,tags:n,rating:a,commentSideBar:v,limitContent:A}),c&&c?.filter(Boolean)?.length>0&&(0,Dt.jsx)(Jn,{actions:c.filter(Boolean)}),d&&(0,Dt.jsx)("div",{className:"border-l grid grid-cols-1 divide-y divide-gray-200 ml-2 mt-3 border-l-gray-300 ",children:d})]}));var ut=g(require("react"),1),as=require("class-variance-authority");var is=require("@heroicons/react/16/solid"),rs=require("lucide-react"),j=require("react/jsx-runtime"),hm=(0,as.cva)("flex items-center shrink-0 justify-center rounded-full shrink-0",{variants:{state:{active:"bg-pink-500 text-white shadow-[0_0px_0px_3px_rgb(255,255,255),0_0px_0px_4px_rgb(var(--mobase-pink-500))]",disabled:"bg-gray-400 text-gray-200",default:"text-gray-500 bg-white shadow-[inset_0px_0px_0px_1px_rgb(var(--mobase-gray-300))]",completed:"bg-pink-500 text-white"},size:{default:"h-7 w-7 text-sm",small:"h-6 w-6 text-xs"}},defaultVariants:{state:"default",size:"default"}}),ns=ut.createContext("default");function ym(){let e=ut.useContext(ns);if(!e)throw new Error("ProgressStepsItem must be used within a ProgressSteps");return e}var wm=ut.memo(({type:e,icon:t,stepNumber:o,size:a,isError:i,state:n})=>{let l=a==="small"?"w-3 h-3":"w-4 h-4";return i?(0,j.jsx)(rs.XIcon,{className:l}):(0,j.jsxs)("div",{children:[e==="iconStep"&&(0,j.jsx)("div",{className:l,children:t}),e==="numberStep"&&(0,j.jsx)("div",{children:o}),e==="default"&&(n==="completed"?(0,j.jsx)(is.CheckIcon,{className:l}):(0,j.jsx)("div",{children:o}))]})}),ss=({step:e,currentStep:t,onValueChangeStep:o,children:a})=>{let i=ut.useCallback(()=>{e!==t&&o(e)},[e,t,o]);return(0,j.jsx)("div",{onClick:i,className:"flex w-full flex-col items-center justify-center gap-1 cursor-pointer",children:a})},ls=({step:e,state:t="default",size:o="default",className:a,title:i,description:n,lastStep:l,fristStep:c,icon:f,isError:p,onValueChangeStep:d,...v})=>{let x=ym();return(0,j.jsxs)("div",{className:r("flex w-full flex-col items-center justify-center gap-1"),children:[(0,j.jsxs)("div",{className:"flex w-full items-center justify-center gap-2",children:[(0,j.jsx)("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",c&&"opacity-0",t==="active"&&"bg-pink-300",t==="completed"&&"bg-pink-300")}),(0,j.jsx)("div",{className:r("flex h-7 w-7 items-center justify-center rounded-full",hm({state:t,size:o}),p&&"bg-red-500 text-white shadow-none",a),...v,children:(0,j.jsx)(wm,{type:x,icon:f,stepNumber:e,size:o,isError:p,state:t})}),(0,j.jsx)("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",l&&"opacity-0",t==="completed"&&"bg-pink-300")})]}),(0,j.jsxs)("div",{className:"text-center w-full flex flex-col items-center mt-2 px-0.5",children:[i&&(0,j.jsx)("div",{className:"text-xs font-bold text-slate-900 ",children:i}),n&&(0,j.jsx)("div",{className:"text-xs text-gray-500 ",children:n})]})]})},ms=({children:e,className:t,type:o="numberStep",...a})=>(0,j.jsx)(ns.Provider,{value:o,children:(0,j.jsx)("div",{className:r("flex items-start justify-between w-full",t),...a,children:e})});var se=g(require("react"),1),fs=require("@radix-ui/react-slot"),Ot=require("react-hook-form");var cs=g(require("react"),1),Li=g(require("@radix-ui/react-label"),1),ds=require("class-variance-authority");var ps=require("react/jsx-runtime"),Nm=(0,ds.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Yo=cs.forwardRef(({className:e,...t},o)=>(0,ps.jsx)(Li.Root,{ref:o,className:r(Nm(),e),...t}));Yo.displayName=Li.Root.displayName;var Ye=require("react/jsx-runtime"),gs=Ot.FormProvider,us=se.createContext({}),vs=({...e})=>(0,Ye.jsx)(us.Provider,{value:{name:e.name},children:(0,Ye.jsx)(Ot.Controller,{...e})}),Wt=()=>{let e=se.useContext(us),t=se.useContext(bs),{getFieldState:o,formState:a}=(0,Ot.useFormContext)(),i=o(e.name,a);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:n}=t;return{id:n,name:e.name,formItemId:`${n}-form-item`,formDescriptionId:`${n}-form-item-description`,formMessageId:`${n}-form-item-message`,...i}},bs=se.createContext({}),Ei=se.forwardRef(({className:e,...t},o)=>{let a=se.useId();return(0,Ye.jsx)(bs.Provider,{value:{id:a},children:(0,Ye.jsx)("div",{ref:o,className:r("space-y-2",e),...t})})});Ei.displayName="FormItem";var Hi=se.forwardRef(({className:e,...t},o)=>{let{error:a,formItemId:i}=Wt();return(0,Ye.jsx)(Yo,{ref:o,className:r(a&&"text-red-500","text-gray-700 ",e),htmlFor:i,...t})});Hi.displayName="FormLabel";var Fi=se.forwardRef(({...e},t)=>{let{error:o,formItemId:a,formDescriptionId:i,formMessageId:n}=Wt();return(0,Ye.jsx)(fs.Slot,{ref:t,id:a,"aria-describedby":o?`${i} ${n}`:`${i}`,"aria-invalid":!!o,...e})});Fi.displayName="FormControl";var _i=se.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:a}=Wt();return(0,Ye.jsx)("p",{ref:o,id:a,className:r("text-[0.8rem] text-gray-500",e),...t})});_i.displayName="FormDescription";var zi=se.forwardRef(({className:e,children:t,...o},a)=>{let{error:i,formMessageId:n}=Wt(),l=i?String(i?.message):t;return l?(0,Ye.jsx)("p",{ref:a,id:n,className:r("text-xs font-medium text-red-500",e),...o,children:l}):null});zi.displayName="FormMessage";var Je=g(require("react"),1),h=g(require("@radix-ui/react-dropdown-menu"),1),Jo=require("lucide-react");var H=require("react/jsx-runtime"),xs=h.Root,hs=h.Trigger,ys=h.Group,ws=h.Portal,Ns=h.Sub,Ps=h.RadioGroup,Bi=Je.forwardRef(({className:e,inset:t,children:o,...a},i)=>(0,H.jsxs)(h.SubTrigger,{ref:i,className:r("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...a,children:[o,(0,H.jsx)(Jo.ChevronRight,{className:"ml-auto"})]}));Bi.displayName=h.SubTrigger.displayName;var Vi=Je.forwardRef(({className:e,...t},o)=>(0,H.jsx)(h.SubContent,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 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 ring-0",e),...t}));Vi.displayName=h.SubContent.displayName;var Oi=Je.forwardRef(({className:e,sideOffset:t=4,...o},a)=>(0,H.jsx)(h.Portal,{children:(0,H.jsx)(h.Content,{ref:a,sideOffset:t,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white p-1 text-gray-900 shadow-small data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ",e),...o})}));Oi.displayName=h.Content.displayName;var Wi=Je.forwardRef(({className:e,inset:t,...o},a)=>(0,H.jsx)(h.Item,{ref:a,className:r("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 ",t&&"pl-8",e),...o}));Wi.displayName=h.Item.displayName;var Gi=Je.forwardRef(({className:e,children:t,checked:o,...a},i)=>(0,H.jsxs)(h.CheckboxItem,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 ",e),checked:o,...a,children:[(0,H.jsxs)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:[o===!1&&(0,H.jsx)("div",{className:"size-3.5 rounded-sm border border-gray-400 absolute inset-0"}),(0,H.jsx)(h.ItemIndicator,{children:(0,H.jsx)("div",{className:"size-3.5 rounded-sm border border-pink-500 bg-pink-500 flex items-center justify-center text-white absolute inset-0",children:(0,H.jsx)(Jo.Check,{size:16,strokeWidth:3})})})]}),t]}));Gi.displayName=h.CheckboxItem.displayName;var $i=Je.forwardRef(({className:e,children:t,...o},a)=>(0,H.jsxs)(h.RadioItem,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 ",e),...o,children:[(0,H.jsxs)("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:[(0,H.jsx)("div",{className:"size-3.5 rounded-full border border-gray-400 absolute inset-0"}),(0,H.jsx)(h.ItemIndicator,{children:(0,H.jsx)("div",{className:"size-3.5 rounded-full border-4 border-pink-500 absolute inset-0"})})]}),t]}));$i.displayName=h.RadioItem.displayName;var ji=Je.forwardRef(({className:e,inset:t,...o},a)=>(0,H.jsx)(h.Label,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));ji.displayName=h.Label.displayName;var Ui=Je.forwardRef(({className:e,...t},o)=>(0,H.jsx)(h.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-gray-100",e),...t}));Ui.displayName=h.Separator.displayName;var Qi=({className:e,...t})=>(0,H.jsx)("span",{className:r("ml-auto text-xs tracking-widest opacity-60",e),...t});Qi.displayName="DropdownMenuShortcut";var me=require("react"),ea=require("lucide-react");var le=require("react/jsx-runtime"),ta=(0,me.createContext)(void 0),oa=({showGradientOverlay:e=!0,gradientOverlayColor:t="255, 255, 255",className:o,children:a})=>{let i=(0,me.useRef)(null),[n,l]=(0,me.useState)({left:!1,right:!1}),c=(0,me.useCallback)(()=>{let p=i.current;if(p){let{scrollLeft:d,scrollWidth:v,clientWidth:x}=p;l({left:d>0,right:d+x<v})}},[]);(0,me.useEffect)(()=>{let p=i.current;if(p)return c(),window.addEventListener("resize",c),p.addEventListener("scroll",c),()=>{window.removeEventListener("resize",c),p.removeEventListener("scroll",c)}},[c]);let f=p=>{let d=i.current;if(d){let v=d.clientWidth*.7*(p==="left"?-1:1);d.scrollBy({left:v,behavior:"smooth"})}};return(0,le.jsx)(ta.Provider,{value:{scrollContainerRef:i,showArrows:n,scroll:f,gradientOverlayColor:t},children:(0,le.jsxs)("div",{className:r("relative w-full",o),children:[e&&(0,le.jsxs)(le.Fragment,{children:[n.left&&(0,le.jsx)("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 z-10 pointer-events-none flex items-center w-16 h-full",style:{background:`linear-gradient( to left, rgba(255, 255, 255, 0),rgb(${t}),rgb(${t}))`}}),n.right&&(0,le.jsx)("div",{className:"absolute right-0 top-1/2 -translate-y-1/2 z-10 pointer-events-none flex items-center w-16 h-full",style:{background:`linear-gradient(to right, rgba(255, 255, 255, 0), rgb(${t}),rgb(${t}))`}})]}),a]})})},aa=({className:e,children:t})=>{let o=(0,me.useContext)(ta);if(!o)throw new Error("HorizontalContent must be used within a HorizontalScroll");return(0,le.jsx)("div",{ref:o.scrollContainerRef,className:r("overflow-x-auto scrollbar-hide scroll-smooth",e),role:"region","aria-label":"Scrollable content",children:t})},ia=({className:e,children:t,...o})=>{let a=(0,me.useContext)(ta);if(!a)throw new Error("HorizontalNavigation must be used within a HorizontalScroll");return a.showArrows.left?(0,le.jsx)(we,{className:r("pointer-events-auto rounded-full w-6 h-6 absolute left-0.5 top-1/2 -translate-y-1/2 z-10",e),onClick:()=>a.scroll("left"),"aria-label":"Scroll left",size:o.size||"sm",variant:o.variant||"secondary",...o,children:t||(0,le.jsx)(ea.ChevronLeft,{className:"h-4 w-4"})}):null},ra=({className:e,children:t,...o})=>{let a=(0,me.useContext)(ta);if(!a)throw new Error("HorizontalNavigation must be used within a HorizontalScroll");return a.showArrows.right?(0,le.jsx)(we,{className:r("pointer-events-auto rounded-full w-6 h-6 absolute right-0.5 top-1/2 -translate-y-1/2 z-10",e),onClick:()=>a.scroll("right"),"aria-label":"Scroll right",size:o.size||"sm",variant:o.variant||"secondary",...o,children:t||(0,le.jsx)(ea.ChevronRight,{className:"h-4 w-4"})}):null};var Ms=require("react");var Rs=require("class-variance-authority"),Xi=g(require("html-react-parser"),1),Ts=require("lucide-react"),K=require("react/jsx-runtime"),Pm=(0,Rs.cva)("text-gray-800 list-inside mt-6",{variants:{template:{1:"grid grid-cols-1 gap-y-3 ",2:"grid grid-cols-2 md:grid-cols-4 gap-2 w-full",3:"grid grid-cols-1 md:grid-cols-4 gap-4 md:gap-12 max-w-5xl mx-auto items-center py-8 md:py-12 text-left text-sm font-semibold space-y-1"}},defaultVariants:{template:1}}),Cs=({template:e,name:t,description:o,image:a,idx:i,value:n,suffix:l,unit:c})=>(0,K.jsx)(K.Fragment,{children:(()=>{switch(e){case 1:case 3:return(0,K.jsxs)("li",{className:"flex items-center space-x-4",children:[a?(0,K.jsx)("div",{className:"w-10 h-10 flex justify-center items-center shrink-0",children:(0,K.jsx)("img",{src:a,alt:"",className:"max-w-full"})}):(0,K.jsx)("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:(0,K.jsx)(Ts.CheckIcon,{className:"w-4 h-4 text-pink-500"})}),t&&(0,K.jsx)("div",{className:"ml-2 leading-tight",children:(0,Xi.default)(t)})]});case 2:return(0,K.jsxs)("div",{className:r("odd:border-0 odd:pr-4 even:pl-4 even:border-l border-gray-200 md:border-l md:odd:border-l md:odd:pr-0",i>0?"md:pl-4":"md:!border-0"),children:[n&&(0,K.jsxs)("div",{className:"font-bold text-gray-900 line-clamp-2",children:[n,(l||c)&&(0,K.jsxs)("span",{children:[l," ",c]})]}),o&&(0,K.jsx)("div",{className:"text-sm mt-1 text-gray-500 leading-tight",children:(0,Xi.default)(o)})]});default:return null}})()}),na=({dataFeatures:e,template:t=1,dataStats:o})=>(0,K.jsxs)("ul",{className:r("",Pm({template:t})),children:[(t===1||t===3)&&e?.map((a,i)=>(0,K.jsx)(Cs,{name:a?.name,template:t,image:a?.image,idx:i},i)),t===2&&o?.map((a,i)=>(0,K.jsx)(Cs,{value:a?.value,suffix:a?.suffix,unit:a?.unit,template:t,description:a?.description,idx:i},i))]});var z=require("react/jsx-runtime"),ks=e=>typeof e=="string"?e?.split("/")?.map(Number)?.reduce((a,i)=>a/i):e,Cm=({src:e,ratio:t,className:o,youtubeId:a,onClickFC:i=()=>{}})=>(0,z.jsxs)(be,{className:r(""),ratio:ks(t),children:[(0,z.jsx)("img",{src:e,className:r("w-full h-full object-cover md:block hidden",o,e?"":"bg-gray-200"),alt:""}),a&&(0,z.jsx)("div",{className:"aspect-[16/9] realtive overflow-hidden w-full md:hidden",children:(0,z.jsx)("iframe",{title:a,src:`https://www.youtube.com/embed/${a}?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"})}),a&&(0,z.jsxs)(nt,{children:[(0,z.jsx)(xo,{onClick:i,children:(0,z.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,z.jsx)("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:(0,z.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,z.jsx)("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),(0,z.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,z.jsx)(je,{hideCloseBtn:!0,className:"w-full h-full !shadow-none !bg-transparent flex items-center justify-center bg-gray-900 p-0",children:(0,z.jsx)("iframe",{width:738,height:439,title:a,src:`https://www.youtube.com/embed/${a}?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:""})})]})]}),go=({type:e=1,src:t,ratio:o,className:a,youtubeId:i,onClickFC:n=()=>{}})=>(0,z.jsx)(z.Fragment,{children:i?(0,z.jsx)(Cm,{type:e,src:t,ratio:o,youtubeId:i,onClickFC:n}):(0,z.jsx)(be,{className:r(""),ratio:ks(o),children:(0,z.jsx)("img",{src:t,className:r("w-full h-full object-cover",a,t?"":"bg-gray-200"),alt:""})})});var sa=g(require("html-react-parser"),1);var Be=require("react/jsx-runtime"),ce=({idSection:e,className:t,background:o,children:a})=>(0,Be.jsx)("section",{id:e,className:r("block-section py-8 md:py-10 lg:py-14",t),style:{background:o},children:(0,Be.jsx)("div",{className:"wrapper relative",children:a})}),k=({align:e="center",tagline:t,title:o,description:a,tagHeading:i="h2",colorScheme:n="pink",sizeHeading:l="small",className:c})=>{let f=n==="black"?"pink":n==="pink"?"regular":"white",p=n==="pink"?"pink":n==="white"?"white":"regular",d=n==="white"?"white":"regular";return(0,Be.jsxs)(Ao,{align:e,className:c,children:[t&&(0,Be.jsx)(Do,{color:f,children:t}),o&&(0,Be.jsx)(Mo,{tagHeading:i,color:p,size:l,children:(0,sa.default)(o)}),a&&(0,Be.jsx)(Io,{color:d,marginTop:l==="large"?"spacing2Xl":"spacingX",children:(0,sa.default)(a)})]})},M=({align:e,isFullInMobile:t=!1,buttons:o,className:a})=>o?.length===0?null:(0,Be.jsx)("div",{className:r("buttons-block mt-8 md:mt-10 flex gap-4 w-full",e==="center"&&"justify-center",e==="right"&&"justify-end",t&&"flex-wrap md:flex-nowrap",a),children:o?.slice(0,2).map((i,n)=>{let{btnName:l,...c}=i;return(0,Be.jsx)(It,{...c,className:r(t&&"w-full md:w-auto",i?.className),children:(0,sa.default)(l)},n)})});var S=require("react/jsx-runtime"),qi=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:l})=>(0,S.jsxs)("div",{className:r("grid grid-cols-1 md:grid-cols-2 md:gap-6 gap-8 items-center"),children:[(0,S.jsxs)("div",{className:"col-span-1 ",children:[(0,S.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"left",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:`${e?.className} mb-0 md:mb-0`}),(0,S.jsx)(na,{dataFeatures:o,template:a,dataStats:i}),t&&(0,S.jsx)(M,{align:"left",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})]}),(0,S.jsx)("div",{className:"col-span-1 md:pl-10",children:l||(0,S.jsx)(go,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})]}),Ss=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:l})=>(0,S.jsxs)("div",{className:r("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[(0,S.jsx)("div",{className:"col-span-1 hidden md:block",children:l||(0,S.jsx)(go,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),(0,S.jsxs)("div",{className:"col-span-1",children:[(0,S.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"left",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:e?.className}),(0,S.jsx)(na,{dataFeatures:o,template:a,dataStats:i}),(0,S.jsx)("div",{className:"md:hidden mt-10",children:l||(0,S.jsx)(go,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),t&&(0,S.jsx)("div",{className:"w-full flex items-center justify-center md:justify-start",children:(0,S.jsx)(M,{align:"left",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})})]})]}),Ds=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:l})=>(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"center",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:`${e?.className||""} mb-0 md:mb-0`}),t&&(0,S.jsx)(M,{align:"center",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center"}),(0,S.jsx)(na,{dataFeatures:o,template:a,dataStats:i}),l||(0,S.jsx)(go,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId,className:"rounded-lg"})]});var Ve=require("react/jsx-runtime"),Rm=`var(
|
|
140
140
|
--gradient-pink-1,
|
|
141
141
|
linear-gradient(
|
|
142
142
|
38deg,
|
|
@@ -158,39 +158,35 @@
|
|
|
158
158
|
rgba(255, 255, 255, 0) 80%
|
|
159
159
|
),
|
|
160
160
|
#fff
|
|
161
|
-
)`,
|
|
161
|
+
)`,Tm=({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:l})=>{switch(e){case 1:return(0,Ve.jsx)(qi,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:l});case 2:return(0,Ve.jsx)(Ss,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:l});case 3:return(0,Ve.jsx)(Ds,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:l});default:return(0,Ve.jsx)(qi,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:l})}},km=({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:l})=>(0,Ve.jsx)(Ve.Fragment,{children:Tm({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:l})}),Is=(0,Ms.forwardRef)(({template:e=1,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,className:l,background:c,advancedComponent:f=null})=>(0,Ve.jsx)(ce,{className:r(l),background:c??Rm,children:(0,Ve.jsx)(km,{dataButtons:o,template:e,dataHeading:t,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:f})}));var C=require("react/jsx-runtime"),As=({dataHeading:e,dataBrands:t,dataButtons:o,spaceX:a,isScrollSnap:i})=>{let n={spacingX:"md:gap-x-5",spacingM:"md:gap-x-6",spacingL:"md:gap-x-7",spacingXl:"md:gap-x-10",spacing2Xl:"md:gap-x-12"};return(0,C.jsxs)(C.Fragment,{children:[e&&(0,C.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&t?.length>0&&(0,C.jsx)("div",{className:r("list-brands flex flex-row gap-y-6 md:flex-wrap md:justify-center overflow-hidden overflow-x-auto py-2",n[a||"spacingXl"],i?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3 space-x-5 md:space-x-0 px-5 md:px-0":"flex-wrap justify-center"),children:t?.map((l,c)=>(0,C.jsx)("div",{className:r("flex justify-center items-center md:px-0 md:basis-auto",i?"snap-center shrink-0 basis-1/3":"basis-1/2 px-2.5"),children:(0,C.jsx)("div",{className:"w-auto max-w-36 flex justify-center items-center",children:l?.url?(0,C.jsx)("a",{href:l?.url,title:l?.name,target:l?.newTab?"_blank":"_self",className:"group",children:(0,C.jsx)("img",{src:l?.logo,loading:"lazy",alt:l?.name,className:"object-contain transition transform group-hover:scale-105"})}):(0,C.jsx)("img",{src:l?.logo,loading:"lazy",alt:l?.name,className:"object-contain"})})},c))}),o&&(0,C.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]})},Sm=({dataHeading:e,dataBrands:t,dataButtons:o,isScrollSnap:a})=>(0,C.jsxs)(C.Fragment,{children:[e&&(0,C.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&t?.length>0&&(0,C.jsx)("div",{className:r("list-brands md:grid-cols-4 md:gap-y-6 md:gap-x-7",a?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3 flex md:grid overflow-hidden overflow-x-auto md:mx-0 md:px-0 px-5 space-x-5 md:space-x-0":"grid grid-cols-2 gap-x-4 gap-y-6"),children:t?.map((i,n)=>(0,C.jsx)("div",{className:r("flex justify-center items-center text-center",a?"snap-center shrink-0 basis-5/12":""),children:i?.url?(0,C.jsx)("a",{href:i?.url,title:i?.name,target:i?.newTab?"_blank":"_self",className:"flex justify-center items-center rounded-md border border-gray-200 duration-300 hover:border-pink-500 w-full h-full p-3",children:(0,C.jsx)("div",{className:"w-auto max-w-36 flex justify-center items-center",children:(0,C.jsx)("img",{src:i?.logo,loading:"lazy",alt:i?.name,className:"object-contain"})})}):(0,C.jsx)("div",{className:"flex justify-center items-center rounded-md border border-gray-200 w-full h-full p-3",children:(0,C.jsx)("div",{className:"w-auto max-w-36 flex justify-center items-center",children:(0,C.jsx)("img",{src:i?.logo,loading:"lazy",alt:i?.name,className:"object-contain"})})})},n))}),o&&(0,C.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),Dm=({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})=>{switch(e){case 1:return(0,C.jsx)(As,{dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n});case 2:return(0,C.jsx)(Sm,{dataHeading:t,dataBrands:o,dataButtons:a,isScrollSnap:n});default:return(0,C.jsx)(As,{dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})}},Mm=({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})=>(0,C.jsx)(C.Fragment,{children:Dm({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})}),Ls=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataBrands:n,dataButtons:l,spaceX:c="spacingXl",isScrollSnap:f})=>(0,C.jsx)(ce,{className:o,idSection:a,background:t,children:(0,C.jsx)(Mm,{template:e,dataHeading:i,dataBrands:n,dataButtons:l,spaceX:c,isScrollSnap:f})});var B=g(require("html-react-parser"),1);var Es=require("@heroicons/react/16/solid");var s=require("react/jsx-runtime"),Oe=({btnLink:e,btnName:t,newTab:o})=>(0,s.jsx)(qe,{variant:"primary",asChild:!0,children:(0,s.jsxs)("a",{href:e,target:o?"_blank":"_self",rel:"noreferrer",children:[t||"Xem chi ti\u1EBFt",(0,s.jsx)(Es.ChevronRightIcon,{className:"w-4 h-4"})]})}),Zi=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,s.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((a,i)=>(0,s.jsxs)("div",{className:"feature-item relative w-full text-center flex flex-col",children:[(0,s.jsx)("div",{className:"w-16 h-16 mx-auto",children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-4 flex-1",children:[(0,s.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,B.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,B.default)(a.description)})]}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Oe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,s.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),Hs=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,s.jsx)("div",{className:"list-features list-features-2 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:t?.map((a,i)=>(0,s.jsxs)("div",{className:"feature-item p-5 overflow-hidden border border-gray-200 rounded-md relative w-full flex flex-col",children:[(0,s.jsx)("div",{className:"w-16 h-16",children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[(0,s.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,B.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,B.default)(a.description)})]}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Oe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,s.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"}),(0,s.jsx)("style",{children:`
|
|
162
162
|
.list-features-2 .feature-item {
|
|
163
163
|
background: linear-gradient(180deg, #FAFAFA 0%, rgba(255, 255, 255, 1) 91%);
|
|
164
164
|
}
|
|
165
|
-
`})]}),Ls=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,l.jsxs)(l.Fragment,{children:[e&&(0,l.jsx)(T,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,l.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((a,i)=>(0,l.jsxs)("div",{className:"feature-item relative w-full flex flex-col",children:[(0,l.jsx)("div",{className:"w-16 h-16",children:(0,l.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,l.jsxs)("div",{className:"w-full mt-4 flex-1",children:[(0,l.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,l.jsx)("h3",{className:"text-lg font-semibold",children:(0,_.default)(a.name)}),a?.description&&(0,l.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,_.default)(a.description)})]}),a?.btnLink&&(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(Ge,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,l.jsx)(D,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),Es=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-0 lg:gap-12",children:[(0,l.jsxs)("div",{className:"lg:col-span-4 lg:flex lg:flex-col lg:justify-center",children:[e&&(0,l.jsx)(T,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:r("lg:mb-0",e?.className)}),o&&(0,l.jsx)(D,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`hidden lg:flex ${o?.className}`,align:"left"})]}),(0,l.jsxs)("div",{className:"lg:col-span-6",children:[t&&(0,l.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-5",children:t?.map((a,i)=>(0,l.jsxs)("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-5 bg-white",children:[(0,l.jsx)("div",{className:"w-16 h-16",children:(0,l.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,l.jsxs)("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[(0,l.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,l.jsx)("h3",{className:"text-lg font-semibold",children:(0,_.default)(a.name)}),a?.description&&(0,l.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,_.default)(a.description)})]}),a?.btnLink&&(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(Ge,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,l.jsx)(D,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`flex lg:hidden ${o?.className}`,align:"center"})]})]}),Fs=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,l.jsxs)(l.Fragment,{children:[e&&(0,l.jsx)(T,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,l.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-5 max-w-4xl mx-auto",children:t?.map((a,i)=>(0,l.jsxs)("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-7 bg-white",children:[(0,l.jsx)("div",{className:"w-12 h-12 ",children:(0,l.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,l.jsxs)("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[(0,l.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,l.jsx)("h3",{className:"text-lg font-semibold",children:(0,_.default)(a.name)}),a?.description&&(0,l.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,_.default)(a.description)})]}),a?.btnLink&&(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(Ge,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,l.jsx)(D,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),Hs=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,l.jsxs)(l.Fragment,{children:[e&&(0,l.jsx)(T,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,l.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-7 lg:gap-y-10",children:t?.map((a,i)=>(0,l.jsxs)("div",{className:"feature-item relative w-full",children:[(0,l.jsx)("div",{className:"w-12 h-12",children:(0,l.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,l.jsxs)("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[(0,l.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,l.jsx)("h3",{className:"text-lg font-semibold",children:(0,_.default)(a.name)}),a?.description&&(0,l.jsx)("div",{className:"text-gray-500 mt-2 text-sm",children:(0,_.default)(a.description)})]}),a?.btnLink&&(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(Ge,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,l.jsx)(D,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),_s=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,l.jsxs)(l.Fragment,{children:[e&&(0,l.jsx)(T,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,l.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-6 lg:gap-y-8",children:t?.map((a,i)=>(0,l.jsxs)("div",{className:"feature-item relative w-full flex gap-3",children:[(0,l.jsx)("div",{className:"w-12 h-12",children:(0,l.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,l.jsxs)("div",{className:"w-full flex-1",children:[a?.name&&(0,l.jsx)("h3",{className:"text-lg font-semibold",children:(0,_.default)(a.name)}),a?.description&&(0,l.jsx)("div",{className:"text-gray-500 mt-2 text-sm",children:(0,_.default)(a.description)}),a?.btnLink&&(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(Ge,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,l.jsx)(D,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),zs=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,l.jsxs)(l.Fragment,{children:[e&&(0,l.jsx)(T,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,l.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-6",children:t?.map((a,i)=>(0,l.jsxs)("div",{className:"feature-item relative w-full flex flex-col overflow-hidden bg-gray-100 rounded-xl",children:[(0,l.jsxs)("div",{className:"w-full flex flex-1 flex-col p-5",children:[(0,l.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,l.jsx)("h3",{className:"text-lg font-semibold",children:(0,_.default)(a.name)}),a?.description&&(0,l.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,_.default)(a.description)})]}),a?.btnLink&&(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(Ge,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]}),(0,l.jsx)("div",{className:"w-full",style:{aspectRatio:"347/220"},children:(0,l.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})})]},i))}),o&&(0,l.jsx)(D,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),Bs=({dataHeading:e,dataFeatures:t,dataButtons:o,dataBanner:a})=>(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-10 lg:gap-14",children:[(0,l.jsx)("div",{className:"lg:col-span-6 flex items-center",children:(0,l.jsxs)("div",{className:"w-full",children:[e&&(0,l.jsx)(T,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,l.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:auto-cols-auto",children:t?.map((i,n)=>(0,l.jsxs)("div",{className:"feature-item relative w-full flex flex-col",children:[(0,l.jsx)("div",{className:"w-10 h-10",children:(0,l.jsx)("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),(0,l.jsxs)("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[(0,l.jsxs)("div",{className:"flex-1",children:[i?.name&&(0,l.jsx)("h3",{className:"text-lg font-semibold",children:(0,_.default)(i.name)}),i?.description&&(0,l.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,_.default)(i.description)})]}),i?.btnLink&&(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(Ge,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n))}),o&&(0,l.jsx)(D,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"left"})]})}),a&&(0,l.jsx)("div",{className:"lg:col-span-4 flex items-center",children:(0,l.jsx)("div",{className:"max-w-md mx-auto w-full",children:(0,l.jsx)(be,{ratio:a?.ratio||1,className:"w-full",children:(0,l.jsx)("img",{src:a?.src,alt:a?.alt,loading:"lazy",className:"h-full w-full object-cover"})})})})]}),Vs=({dataHeading:e,dataFeatures:t,dataBanner:o,dataButtons:a})=>(0,l.jsxs)(l.Fragment,{children:[e&&(0,l.jsx)(T,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),(0,l.jsx)("div",{className:r("relative flex items-center",o&&"lg:min-h-[590px]"),children:t&&(0,l.jsxs)("div",{className:r("list-features grid grid-cols-1 md:grid-cols-2 gap-8",o?"lg:gap-y-16 lg:gap-x-0 lg:flex-wrap lg:flex lg:flex-row":"max-w-4xl mx-auto"),children:[t?.map((i,n)=>(0,l.jsxs)("div",{className:r("feature-item relative w-full",o&&"lg:basis-1/2 odd:lg:pr-48 even:lg:pl-48"),children:[(0,l.jsx)("div",{className:"w-12 h-12",children:(0,l.jsx)("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),(0,l.jsxs)("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[(0,l.jsxs)("div",{className:"flex-1",children:[i?.name&&(0,l.jsx)("h3",{className:"text-lg font-semibold",children:(0,_.default)(i.name)}),i?.description&&(0,l.jsx)("div",{className:"text-gray-500 mt-2",children:(0,_.default)(i.description)})]}),i?.btnLink&&(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(Ge,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n)),o&&(0,l.jsxs)("div",{className:"absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 hidden lg:flex lg:justify-center lg:items-end xl:p-2 lg:p-1.5 w-72 mx-auto",style:{aspectRatio:"352/721"},children:[(0,l.jsx)("div",{className:"mockup-bg absolute inset-0 w-full h-full select-none pointer-events-none",style:{background:"url(https://homepage.momocdn.net/img/momo-amazone-s3-api-240809173159-638588215193226459.png) no-repeat bottom center/contain"}}),(0,l.jsx)("div",{className:"w-full h-full bg-gray-100 overflow-hidden",style:{borderRadius:"30px"},children:(0,l.jsx)("img",{src:o?.src,alt:o?.alt,className:"w-full h-full object-contain"})})]})]})}),a&&(0,l.jsx)(D,{isFullInMobile:a?.isFullInMobile,buttons:a?.buttons,className:a?.className,align:"center"})]});var J=require("react/jsx-runtime"),Mm=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>{switch(e){case 1:return(0,J.jsx)(ji,{dataHeading:t,dataFeatures:o,dataButtons:a});case 2:return(0,J.jsx)(As,{dataHeading:t,dataFeatures:o,dataButtons:a});case 3:return(0,J.jsx)(Ls,{dataHeading:t,dataFeatures:o,dataButtons:a});case 4:return(0,J.jsx)(Es,{dataHeading:t,dataFeatures:o,dataButtons:a});case 5:return(0,J.jsx)(Fs,{dataHeading:t,dataFeatures:o,dataButtons:a});case 6:return(0,J.jsx)(Hs,{dataHeading:t,dataFeatures:o,dataButtons:a});case 7:return(0,J.jsx)(_s,{dataHeading:t,dataFeatures:o,dataButtons:a});case 8:return(0,J.jsx)(zs,{dataHeading:t,dataFeatures:o,dataButtons:a});case 9:return(0,J.jsx)(Bs,{dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i});case 10:return(0,J.jsx)(Vs,{dataHeading:t,dataFeatures:o,dataBanner:i,dataButtons:a});default:return(0,J.jsx)(ji,{dataHeading:t,dataFeatures:o,dataButtons:a})}},Im=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>(0,J.jsx)(J.Fragment,{children:Mm({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})}),Os=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:c})=>(0,J.jsx)(ce,{className:o,idSection:a,background:t,children:(0,J.jsx)(Im,{template:e,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:c})});var ia=f(require("html-react-parser"),1),$s=require("@heroicons/react/24/solid");var N=require("react/jsx-runtime"),Gs=({testimonial:e,isHiddenOnMobile:t=!1,index:o=0,itemCount:a})=>(0,N.jsx)("div",{className:r("testimonial-item grow sm:px-0 basis-10/12 md:basis-0 px-3 snap-center shrink-0 first:pl-5 md:first:pl-0",t?"hidden sm:block":"",o+1===a?"pr-5":""),children:(0,N.jsx)("div",{className:"rounded-xl border border-gray-50 bg-white px-5 pt-4 sm:px-5 pb-10 shadow-md relative h-full",children:(0,N.jsxs)("div",{className:"testimonial-item-width",children:[(0,N.jsxs)("div",{className:"flex flex-nowrap items-center space-x-2",children:[(0,N.jsx)("div",{className:"h-9 w-9 shrink-0 overflow-hidden rounded-full",children:(0,N.jsx)("img",{src:e?.avatar,loading:"lazy",className:"h-full w-full object-cover",alt:e.name})}),(0,N.jsxs)("div",{className:"min-w-0 flex-1 pl-1",children:[(0,N.jsx)("div",{className:"overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-gray-700",children:e.name}),e?.position&&(0,N.jsx)("div",{className:"text-xs font-normal text-pink-500",children:(0,ia.default)(e.position)})]})]}),(0,N.jsxs)("div",{className:"mt-3",children:[e?.shortTitle&&(0,N.jsx)("div",{className:"text-sm font-bold text-gray-700",children:(0,ia.default)(e.shortTitle)}),e?.description&&(0,N.jsx)("div",{className:"relative mt-1 max-h-full overflow-hidden text-sm leading-normal text-gray-600",children:(0,ia.default)(e.description)})]}),(0,N.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 flex items-center justify-between space-x-2 p-4 md:px-5",children:[(0,N.jsx)("div",{className:"text-xs text-gray-400",children:e.date}),e?.rating&&e?.rating>0&&(0,N.jsx)("div",{className:"flex flex-nowrap space-x-0.5 text-sm",children:Array.from({length:5},(i,n)=>(0,N.jsx)($s.StarIcon,{className:`h-4 w-4 ${n<(e.rating??0)?"text-yellow-400":"text-gray-200"}`},n))})]})]})})}),Ws=({dataHeading:e,dataTestimonials:t,dataButtons:o})=>(0,N.jsxs)(N.Fragment,{children:[e&&(0,N.jsx)(T,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"center",colorScheme:e.colorScheme||"pink",sizeHeading:e.sizeHeading,className:e.className}),(t?.length??0)>0&&(0,N.jsx)("div",{className:"testimonials-mobase scroll-hidden relative overflow-x-scroll py-2 md:overflow-hidden -my-2 -mx-5 sm:mx-0",children:(0,N.jsxs)("div",{className:"testimonials-slider sm:space-x-6 flex flex-row overflow-hidden overflow-x-auto sm:overflow-visible sm:pl-6 sm:pr-0 snap-x sm:snap-none snap-mandatory pb-3 sm:pb-0",children:[t?.map((a,i)=>(0,N.jsx)(Gs,{testimonial:a,index:i,itemCount:t?.length||0},i)),(t?.length??0)>3&&t?.map((a,i)=>(0,N.jsx)(Gs,{testimonial:a,isHiddenOnMobile:!0},i))]})}),o&&(0,N.jsx)(D,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"}),(0,N.jsx)("style",{children:`
|
|
166
|
-
${(t?.length??0)>3?`
|
|
165
|
+
`})]}),Fs=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,s.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((a,i)=>(0,s.jsxs)("div",{className:"feature-item relative w-full flex flex-col",children:[(0,s.jsx)("div",{className:"w-16 h-16",children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-4 flex-1",children:[(0,s.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,B.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,B.default)(a.description)})]}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Oe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,s.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),_s=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-0 lg:gap-12",children:[(0,s.jsxs)("div",{className:"lg:col-span-4 lg:flex lg:flex-col lg:justify-center",children:[e&&(0,s.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:r("lg:mb-0",e?.className)}),o&&(0,s.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`hidden lg:flex ${o?.className}`,align:"left"})]}),(0,s.jsxs)("div",{className:"lg:col-span-6",children:[t&&(0,s.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-5",children:t?.map((a,i)=>(0,s.jsxs)("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-5 bg-white",children:[(0,s.jsx)("div",{className:"w-16 h-16",children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[(0,s.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,B.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,B.default)(a.description)})]}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Oe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,s.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`flex lg:hidden ${o?.className}`,align:"center"})]})]}),zs=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,s.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-5 max-w-4xl mx-auto",children:t?.map((a,i)=>(0,s.jsxs)("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-7 bg-white",children:[(0,s.jsx)("div",{className:"w-12 h-12 ",children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[(0,s.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,B.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,B.default)(a.description)})]}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Oe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,s.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),Bs=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,s.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-7 lg:gap-y-10",children:t?.map((a,i)=>(0,s.jsxs)("div",{className:"feature-item relative w-full",children:[(0,s.jsx)("div",{className:"w-12 h-12",children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[(0,s.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,B.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-500 mt-2 text-sm",children:(0,B.default)(a.description)})]}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Oe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,s.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),Vs=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,s.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-6 lg:gap-y-8",children:t?.map((a,i)=>(0,s.jsxs)("div",{className:"feature-item relative w-full flex gap-3",children:[(0,s.jsx)("div",{className:"w-12 h-12",children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,B.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-500 mt-2 text-sm",children:(0,B.default)(a.description)}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Oe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&(0,s.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),Os=({dataHeading:e,dataFeatures:t,dataButtons:o})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,s.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-6",children:t?.map((a,i)=>(0,s.jsxs)("div",{className:"feature-item relative w-full flex flex-col overflow-hidden bg-gray-100 rounded-xl",children:[(0,s.jsxs)("div",{className:"w-full flex flex-1 flex-col p-5",children:[(0,s.jsxs)("div",{className:"flex-1",children:[a?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,B.default)(a.name)}),a?.description&&(0,s.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,B.default)(a.description)})]}),a?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Oe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]}),(0,s.jsx)("div",{className:"w-full",style:{aspectRatio:"347/220"},children:(0,s.jsx)("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})})]},i))}),o&&(0,s.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),Ws=({dataHeading:e,dataFeatures:t,dataButtons:o,dataBanner:a})=>(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-10 lg:gap-14",children:[(0,s.jsx)("div",{className:"lg:col-span-6 flex items-center",children:(0,s.jsxs)("div",{className:"w-full",children:[e&&(0,s.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&(0,s.jsx)("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:auto-cols-auto",children:t?.map((i,n)=>(0,s.jsxs)("div",{className:"feature-item relative w-full flex flex-col",children:[(0,s.jsx)("div",{className:"w-10 h-10",children:(0,s.jsx)("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[(0,s.jsxs)("div",{className:"flex-1",children:[i?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,B.default)(i.name)}),i?.description&&(0,s.jsx)("div",{className:"text-gray-600 mt-2 text-base",children:(0,B.default)(i.description)})]}),i?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Oe,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n))}),o&&(0,s.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"left"})]})}),a&&(0,s.jsx)("div",{className:"lg:col-span-4 flex items-center",children:(0,s.jsx)("div",{className:"max-w-md mx-auto w-full",children:(0,s.jsx)(be,{ratio:a?.ratio||1,className:"w-full",children:(0,s.jsx)("img",{src:a?.src,alt:a?.alt,loading:"lazy",className:"h-full w-full object-cover"})})})})]}),Gs=({dataHeading:e,dataFeatures:t,dataBanner:o,dataButtons:a})=>(0,s.jsxs)(s.Fragment,{children:[e&&(0,s.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),(0,s.jsx)("div",{className:r("relative flex items-center",o&&"lg:min-h-[590px]"),children:t&&(0,s.jsxs)("div",{className:r("list-features grid grid-cols-1 md:grid-cols-2 gap-8",o?"lg:gap-y-16 lg:gap-x-0 lg:flex-wrap lg:flex lg:flex-row":"max-w-4xl mx-auto"),children:[t?.map((i,n)=>(0,s.jsxs)("div",{className:r("feature-item relative w-full",o&&"lg:basis-1/2 odd:lg:pr-48 even:lg:pl-48"),children:[(0,s.jsx)("div",{className:"w-12 h-12",children:(0,s.jsx)("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),(0,s.jsxs)("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[(0,s.jsxs)("div",{className:"flex-1",children:[i?.name&&(0,s.jsx)("h3",{className:"text-lg font-semibold",children:(0,B.default)(i.name)}),i?.description&&(0,s.jsx)("div",{className:"text-gray-500 mt-2",children:(0,B.default)(i.description)})]}),i?.btnLink&&(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)(Oe,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n)),o&&(0,s.jsxs)("div",{className:"absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 hidden lg:flex lg:justify-center lg:items-end xl:p-2 lg:p-1.5 w-72 mx-auto",style:{aspectRatio:"352/721"},children:[(0,s.jsx)("div",{className:"mockup-bg absolute inset-0 w-full h-full select-none pointer-events-none",style:{background:"url(https://homepage.momocdn.net/img/momo-amazone-s3-api-240809173159-638588215193226459.png) no-repeat bottom center/contain"}}),(0,s.jsx)("div",{className:"w-full h-full bg-gray-100 overflow-hidden",style:{borderRadius:"30px"},children:(0,s.jsx)("img",{src:o?.src,alt:o?.alt,className:"w-full h-full object-contain"})})]})]})}),a&&(0,s.jsx)(M,{isFullInMobile:a?.isFullInMobile,buttons:a?.buttons,className:a?.className,align:"center"})]});var J=require("react/jsx-runtime"),Im=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>{switch(e){case 1:return(0,J.jsx)(Zi,{dataHeading:t,dataFeatures:o,dataButtons:a});case 2:return(0,J.jsx)(Hs,{dataHeading:t,dataFeatures:o,dataButtons:a});case 3:return(0,J.jsx)(Fs,{dataHeading:t,dataFeatures:o,dataButtons:a});case 4:return(0,J.jsx)(_s,{dataHeading:t,dataFeatures:o,dataButtons:a});case 5:return(0,J.jsx)(zs,{dataHeading:t,dataFeatures:o,dataButtons:a});case 6:return(0,J.jsx)(Bs,{dataHeading:t,dataFeatures:o,dataButtons:a});case 7:return(0,J.jsx)(Vs,{dataHeading:t,dataFeatures:o,dataButtons:a});case 8:return(0,J.jsx)(Os,{dataHeading:t,dataFeatures:o,dataButtons:a});case 9:return(0,J.jsx)(Ws,{dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i});case 10:return(0,J.jsx)(Gs,{dataHeading:t,dataFeatures:o,dataBanner:i,dataButtons:a});default:return(0,J.jsx)(Zi,{dataHeading:t,dataFeatures:o,dataButtons:a})}},Am=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>(0,J.jsx)(J.Fragment,{children:Im({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})}),$s=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataFeatures:n,dataButtons:l,dataBanner:c})=>(0,J.jsx)(ce,{className:o,idSection:a,background:t,children:(0,J.jsx)(Am,{template:e,dataHeading:i,dataFeatures:n,dataButtons:l,dataBanner:c})});var la=g(require("html-react-parser"),1),Qs=require("@heroicons/react/24/solid");var P=require("react/jsx-runtime"),js=({testimonial:e,isHiddenOnMobile:t=!1,index:o=0,itemCount:a})=>(0,P.jsx)("div",{className:r("testimonial-item grow sm:px-0 basis-10/12 md:basis-0 px-3 snap-center shrink-0 first:pl-5 md:first:pl-0",t?"hidden sm:block":"",o+1===a?"pr-5":""),children:(0,P.jsx)("div",{className:"rounded-xl border border-gray-50 bg-white px-5 pt-4 sm:px-5 pb-10 shadow-md relative h-full",children:(0,P.jsxs)("div",{className:"testimonial-item-width",children:[(0,P.jsxs)("div",{className:"flex flex-nowrap items-center space-x-2",children:[(0,P.jsx)("div",{className:"h-9 w-9 shrink-0 overflow-hidden rounded-full",children:(0,P.jsx)("img",{src:e?.avatar,loading:"lazy",className:"h-full w-full object-cover",alt:e.name})}),(0,P.jsxs)("div",{className:"min-w-0 flex-1 pl-1",children:[(0,P.jsx)("div",{className:"overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-gray-700",children:e.name}),e?.position&&(0,P.jsx)("div",{className:"text-xs font-normal text-pink-500",children:(0,la.default)(e.position)})]})]}),(0,P.jsxs)("div",{className:"mt-3",children:[e?.shortTitle&&(0,P.jsx)("div",{className:"text-sm font-bold text-gray-700",children:(0,la.default)(e.shortTitle)}),e?.description&&(0,P.jsx)("div",{className:"relative mt-1 max-h-full overflow-hidden text-sm leading-normal text-gray-600",children:(0,la.default)(e.description)})]}),(0,P.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 flex items-center justify-between space-x-2 p-4 md:px-5",children:[(0,P.jsx)("div",{className:"text-xs text-gray-400",children:e.date}),e?.rating&&e?.rating>0&&(0,P.jsx)("div",{className:"flex flex-nowrap space-x-0.5 text-sm",children:Array.from({length:5},(i,n)=>(0,P.jsx)(Qs.StarIcon,{className:`h-4 w-4 ${n<(e.rating??0)?"text-yellow-400":"text-gray-200"}`},n))})]})]})})}),Us=({dataHeading:e,dataTestimonials:t,dataButtons:o})=>{let a=t?.length??0,i=a>3;return(0,P.jsxs)(P.Fragment,{children:[e&&(0,P.jsx)(k,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"center",colorScheme:e.colorScheme||"pink",sizeHeading:e.sizeHeading,className:e.className}),a>0&&(0,P.jsx)("div",{className:r("testimonials-mobase scroll-hidden relative overflow-x-scroll py-2 md:overflow-hidden -my-2 -mx-5 sm:mx-0",i&&"run-animation"),children:(0,P.jsxs)("div",{className:"testimonials-slider sm:space-x-6 flex flex-row overflow-hidden overflow-x-auto sm:overflow-visible sm:pl-6 sm:pr-0 snap-x sm:snap-none snap-mandatory pb-3 sm:pb-0",children:[t?.map((n,l)=>(0,P.jsx)(js,{testimonial:n,index:l,itemCount:a},`main-${l}`)),i&&t?.map((n,l)=>(0,P.jsx)(js,{testimonial:n,isHiddenOnMobile:!0},`duplicate-${l}`))]})}),o&&(0,P.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"}),i&&(0,P.jsx)("style",{children:`
|
|
167
166
|
@media screen and (min-width: 640px) {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
@keyframes scroll-infinite-mobase {
|
|
184
|
-
0% {
|
|
185
|
-
transform: translateX(0);
|
|
167
|
+
.testimonials-mobase.run-animation {
|
|
168
|
+
--items-count: ${a};
|
|
169
|
+
}
|
|
170
|
+
.testimonials-mobase.run-animation .testimonials-slider {
|
|
171
|
+
animation: scroll-infinite-mobase linear infinite;
|
|
172
|
+
animation-duration: calc(var(--items-count) * 5s);
|
|
173
|
+
}
|
|
174
|
+
.testimonials-mobase.run-animation .testimonials-slider:hover {
|
|
175
|
+
animation-play-state: paused;
|
|
176
|
+
}
|
|
177
|
+
.testimonials-mobase.run-animation .testimonial-item-width {
|
|
178
|
+
width: ${a===4?"410px":"320px"};
|
|
179
|
+
}
|
|
186
180
|
}
|
|
187
|
-
|
|
188
|
-
|
|
181
|
+
@keyframes scroll-infinite-mobase {
|
|
182
|
+
0% {
|
|
183
|
+
transform: translateX(0);
|
|
184
|
+
}
|
|
185
|
+
100% {
|
|
186
|
+
transform: translateX(calc(${a===4?"-476px":"-386px"} * var(--items-count)));
|
|
187
|
+
}
|
|
189
188
|
}
|
|
190
|
-
}
|
|
191
|
-
`:""}
|
|
192
|
-
|
|
193
|
-
`})]}),Am=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>{switch(e){case 1:return(0,N.jsx)(Ws,{dataHeading:t,dataTestimonials:o,dataButtons:a});default:return(0,N.jsx)(Ws,{dataHeading:t,dataTestimonials:o,dataButtons:a})}},Lm=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>(0,N.jsx)(N.Fragment,{children:Am({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})}),js=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataTestimonials:n,dataButtons:s})=>(0,N.jsx)(ce,{className:`${e===1&&(n?.length??0)>3?"[&>.wrapper]:max-w-full [&>.wrapper]:md:px-0":""} ${o||""}`,idSection:a,background:t,children:(0,N.jsx)(Lm,{template:e,dataHeading:i,dataTestimonials:n,dataButtons:s})});var vo=f(require("react"),1);var Qi=f(require("html-react-parser"),1),Q=require("react/jsx-runtime"),Ui=(0,vo.memo)(({dataFAQ:e,dataHeading:t})=>(0,Q.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6",children:[t&&(0,Q.jsx)(T,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading||"h2",align:"left",colorScheme:t?.colorScheme||"pink",sizeHeading:t?.sizeHeading,className:r("md:mb-0 mb-0 mt-2 col-span-1 text-center md:text-left",t?.className)}),e&&(0,Q.jsx)("div",{className:"col-span-2",children:e[0]?.contents.map((o,a)=>(0,Q.jsx)(tt,{type:"single",collapsible:!0,className:"w-full",children:(0,Q.jsxs)(ot,{value:o.title,children:[(0,Q.jsx)(at,{className:"font-bold",children:o.title}),(0,Q.jsx)(it,{children:(0,Qi.default)(o.description)})]})},o.title+a))})]})),Qs=(0,vo.memo)(({dataFAQ:e,dataHeading:t})=>(0,Q.jsxs)(vo.default.Fragment,{children:[t&&(0,Q.jsx)(T,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading,align:"center",colorScheme:t?.colorScheme||"pink",sizeHeading:t?.sizeHeading,className:r(t?.className)}),e&&(0,Q.jsxs)(Ht,{defaultValue:e[0]?.title,children:[(0,Q.jsx)(ht,{className:"flex items-center sm:justify-center",children:e.map((o,a)=>(0,Q.jsx)(yt,{value:o.title,children:o.title},o.title+a))}),e.map((o,a)=>(0,Q.jsx)(wt,{className:"max-w-3xl mx-auto",value:o.title,children:o.contents.map((i,n)=>(0,Q.jsx)(tt,{type:"single",collapsible:!0,className:"w-full",children:(0,Q.jsxs)(ot,{value:i.title,children:[(0,Q.jsx)(at,{className:"font-bold",children:i.title}),(0,Q.jsx)(it,{children:(0,Qi.default)(i.description)})]})},i.title+n))},o.title+a))]})]}));var et=require("react/jsx-runtime"),Em=({template:e,dataFAQ:t,dataHeading:o})=>{switch(e){case 1:return(0,et.jsx)(Ui,{dataFAQ:t,dataHeading:o});case 2:return(0,et.jsx)(Qs,{dataFAQ:t,dataHeading:o});default:return(0,et.jsx)(Ui,{dataFAQ:t,dataHeading:o})}},Fm=({dataHeading:e,dataFAQ:t,template:o})=>(0,et.jsx)(et.Fragment,{children:Em({dataHeading:e,dataFAQ:t,template:o})}),Us=({dataHeading:e,dataFAQ:t=[],className:o="",background:a=""})=>{let i=t&&t?.length>1?2:1;return(0,et.jsx)(ce,{className:r(o),background:a,children:(0,et.jsx)(Fm,{dataHeading:e,dataFAQ:t,template:i})})};var Wt=f(require("react"),1);var M=require("react/jsx-runtime"),Hm=({src:e})=>(0,M.jsx)("div",{className:"aspect-[77/37] rounded-md relative overflow-hidden hidden md:block mb-3",children:(0,M.jsx)("img",{className:"",src:e,alt:"news-image-des"})}),_m=({src:e})=>(0,M.jsx)("div",{className:"aspect-[1/1] rounded-md relative overflow-hidden md:hidden mb-3",children:(0,M.jsx)("img",{className:"",src:e,alt:"new-image"})}),Xs=({news:e})=>(0,M.jsxs)("div",{className:"group",children:[(0,M.jsx)(Hm,{src:e?.thumbnails?.thumbnailDesktop}),(0,M.jsx)(_m,{src:e?.thumbnails?.thumbnailMobile}),(0,M.jsx)("div",{className:"mb-3 text-gray-900 font-medium text-sm sm:text-base group-hover:text-pink-500 line-clamp-2 leading-6",children:e?.title}),(0,M.jsx)("div",{className:"text-gray-500 text-xs",children:e?.dateTime})]}),Xi=(0,Wt.memo)(({dataHeading:e,dataNews:t,cols:o=3,onClickModal:a})=>{let i=(n,s)=>{a&&(n?.preventDefault(),n?.stopPropagation(),a?.(s))};return(0,M.jsxs)(Wt.default.Fragment,{children:[e&&(0,M.jsx)(T,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:r(e?.className)}),t&&(0,M.jsx)("div",{className:`grid gap-4 sm:gap-6 grid-cols-2 sm:grid-cols-${o}`,children:t?.[0]?.contents?.map(n=>(0,M.jsx)("a",{onClick:s=>i(s,n?.id),href:n.url,target:"_blank",children:(0,M.jsx)(Xs,{news:n})},n?.id))})]})}),qs=(0,Wt.memo)(({dataHeading:e,dataNews:t,cols:o=3,onClickModal:a})=>{let i=(n,s)=>{a&&(n?.preventDefault(),n?.stopPropagation(),a?.(s))};return(0,M.jsxs)(Wt.default.Fragment,{children:[e&&(0,M.jsx)(T,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:r(e?.className)}),t&&(0,M.jsxs)(Ht,{defaultValue:t[0]?.title,children:[(0,M.jsx)(ht,{className:"flex items-center justify-center mb-6",children:t.map((n,s)=>(0,M.jsx)(yt,{value:n.title,children:n.title},n.title+s))}),t?.map((n,s)=>(0,M.jsx)(wt,{value:n.title,className:`grid gap-4 sm:gap-6 mt-0 grid-cols-2 sm:grid-cols-${o}`,children:n?.contents?.map(c=>(0,M.jsx)("a",{onClick:d=>i(d,c?.id),href:c.url,target:"_blank",children:(0,M.jsx)(Xs,{news:c})},c?.id))},n.title+s))]})]})});var Te=require("react/jsx-runtime"),zm=({template:e,dataNews:t,dataHeading:o,cols:a,onClickModal:i})=>{switch(e){case 1:return(0,Te.jsx)(Xi,{cols:a,dataNews:t,dataHeading:o,onClickModal:i});case 2:return(0,Te.jsx)(qs,{cols:a,dataNews:t,dataHeading:o,onClickModal:i});default:return(0,Te.jsx)(Xi,{cols:a,dataNews:t,dataHeading:o,onClickModal:i})}},Bm=({dataHeading:e,dataNews:t,template:o,cols:a,onClickModal:i})=>(0,Te.jsx)(Te.Fragment,{children:zm({dataHeading:e,dataNews:t,template:o,cols:a,onClickModal:i})}),Zs=({dataHeading:e,dataNews:t=[],className:o="",background:a="",buttonLoadMore:i,cols:n,onClickModal:s})=>{let c=t&&t?.length>1?2:1;return(0,Te.jsxs)(ce,{className:r(o),background:a,children:[(0,Te.jsx)(Bm,{dataHeading:e,dataNews:t,template:c,cols:n,onClickModal:s}),i?.isShow&&(0,Te.jsx)("div",{className:"w-full flex items-center justify-center mt-8",children:(0,Te.jsxs)(It,{action:i?.url,newTab:i?.isNewTab,variant:"outline",children:[i?.content,i?.icon]})})]})};var j=require("react/jsx-runtime"),Ks=({dataHeading:e,dataCTA:t,dataButtons:o})=>(0,j.jsxs)("div",{className:"rounded-2xl block relative overflow-hidden lg:overflow-visible p-6 md:py-14 md:px-10 bg-pink-50",style:{background:t?.background},children:[e&&(0,j.jsx)(T,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"center",colorScheme:e.colorScheme||"black",sizeHeading:e.sizeHeading,className:e.className}),o&&(0,j.jsx)(D,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:"center"})]}),Vm=({dataHeading:e,dataCTA:t,dataButtons:o,dataMedia:a})=>(0,j.jsxs)("div",{className:"grid gap-6 grid-cols-1 md:grid-cols-2 rounded-2xl block relative overflow-hidden lg:overflow-visible p-6 pb-0 md:px-10 bg-pink-700 md:pb-0 md:pt-0",style:t?.background?{background:t.background}:{},children:[(0,j.jsxs)("div",{className:"md:py-14 flex flex-col justify-center",children:[e&&(0,j.jsx)(T,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"left",colorScheme:e.colorScheme||"white",sizeHeading:e.sizeHeading,className:e.className}),o&&(0,j.jsx)(D,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:"left"})]}),(0,j.jsx)("div",{className:" max-w-sm mx-auto md:ml-auto md:mr-0 w-full md:pt-10 self-end",children:a&&(0,j.jsx)(be,{ratio:4/3,children:(0,j.jsx)("img",{src:a.src,alt:a.alt,className:"h-full w-full rounded-md object-contain"})})})]}),Om=({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})=>{switch(e){case 1:return(0,j.jsx)(Ks,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i});case 2:return(0,j.jsx)(Vm,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i});default:return(0,j.jsx)(Ks,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})}},Gm=({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})=>(0,j.jsx)(j.Fragment,{children:Om({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})}),Ys=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataCTA:n,dataButtons:s,dataMedia:c})=>(0,j.jsx)(ce,{className:o,idSection:a,background:t,children:(0,j.jsx)(Gm,{template:e,dataHeading:i,dataCTA:n,dataButtons:s,dataMedia:c})});var vl=f(require("color"),1),bl=f(require("tailwindcss/plugin.js"),1);var We="250ms",Js={".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":We},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":We},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":We},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":We},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":We},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":We},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":We},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":We},".transition-transform-colors":{"transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":We},".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":We}};var el={".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"}};var tl={".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 ol={...el,...Js,...tl};var al=require("flat");function Wm(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 il=e=>Wm((0,al.flatten)(e,{safe:!0,delimiter:"-"}));var rl={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var nl={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var sl={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var ll={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var ml={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var cl={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var dl={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var pl={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var fl={white:"#ffffff",black:"#000000",blue:rl,green:nl,pink:sl,purple:ll,red:ml,yellow:cl,gray:pl,orange:dl};var qi={...fl};var gl={"disabled-opacity":.5,"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)"},radius:{none:"0px",sm:"0.125rem",default:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},"z-index":{negative:"-1",workbench:"0",default:"1","workbench-header":"10",modal:"100","modal-content":"101",dropdown:"1000",tooltip:"10000",notification:"100000"},"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"},"line-height":{xxs:"1rem",xs:"1rem",sm:"1.25rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.25rem","4xl":"2.5rem","5xl":"1","6xl":"1","7xl":"1","8xl":"1","9xl":"1"}};var ul={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"}}}};var $m=e=>{let t={utilities:{},colors:{}},o=il(qi),a=gl,i=":root";return t.utilities[i]={},Object.entries(o).forEach(([n,s])=>{if(s)try{let[c,d,p]=(0,vl.default)(s).rgb().array(),g=`--${e}-${n}`;t.utilities[i][g]=`${c} ${d} ${p}`,t.colors[n]=`rgb(var(${g}) / <alpha-value>)`}catch(c){console.log("error",c?.message)}}),Object.entries(a).forEach(([n,s])=>{if(!s)return;let c=`--${e}-${n}`;if(typeof s=="object")Object.entries(s).forEach(([d,p])=>{let g=`${c}-${d}`;t.utilities[i][g]=p});else{let d=c.includes("opacity")&&typeof s=="number"?s?.toString().replace(/^0\./,"."):s;t.utilities[i][c]=d}}),t},xl=()=>{let e="mobase",t=$m(e);return(0,bl.default)(({addBase:o,addUtilities:a,addComponents:i})=>{i({".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}),a({...ol})},{theme:{container:{center:!0},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},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:{...qi,...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)`},borderRadius:{none:`var(--${e}-radius-none)`,sm:`var(--${e}-radius-sm)`,DEFAULT:`var(--${e}-radius-default)`,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)`,full:`var(--${e}-radius-full)`},fontSize:{xxs:[`var(--${e}-font-size-xxs)`,`var(--${e}-line-height-xxs)`],xs:[`var(--${e}-font-size-xs)`,`var(--${e}-line-height-xs)`],sm:[`var(--${e}-font-size-sm)`,`var(--${e}-line-height-sm)`],base:[`var(--${e}-font-size-base)`,`var(--${e}-line-height-base)`],lg:[`var(--${e}-font-size-lg)`,`var(--${e}-line-height-lg)`],xl:[`var(--${e}-font-size-xl)`,`var(--${e}-line-height-xl)`],"2xl":[`var(--${e}-font-size-2xl)`,`var(--${e}-line-height-2xl)`],"3xl":[`var(--${e}-font-size-3xl)`,`var(--${e}-line-height-3xl)`],"4xl":[`var(--${e}-font-size-4xl)`,`var(--${e}-line-height-4xl)`],"5xl":[`var(--${e}-font-size-5xl)`,`var(--${e}-line-height-5xl)`],"6xl":[`var(--${e}-font-size-6xl)`,`var(--${e}-line-height-6xl)`],"7xl":[`var(--${e}-font-size-7xl)`,`var(--${e}-line-height-7xl)`],"8xl":[`var(--${e}-font-size-8xl)`,`var(--${e}-line-height-8xl)`],"9xl":[`var(--${e}-font-size-9xl)`,`var(--${e}-line-height-9xl)`]},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)`},...ul}}})};var h=require("react/jsx-runtime"),hl=(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:`{
|
|
189
|
+
`})]})},Lm=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>{switch(e){case 1:return(0,P.jsx)(Us,{dataHeading:t,dataTestimonials:o,dataButtons:a});default:return(0,P.jsx)(Us,{dataHeading:t,dataTestimonials:o,dataButtons:a})}},Em=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>(0,P.jsx)(P.Fragment,{children:Lm({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})}),Xs=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataTestimonials:n,dataButtons:l})=>(0,P.jsx)(ce,{className:`${e===1&&(n?.length??0)>3?"[&>.wrapper]:max-w-full [&>.wrapper]:md:px-0":""} ${o||""}`,idSection:a,background:t,children:(0,P.jsx)(Em,{template:e,dataHeading:i,dataTestimonials:n,dataButtons:l})});var uo=g(require("react"),1);var Ki=g(require("html-react-parser"),1),Q=require("react/jsx-runtime"),Yi=(0,uo.memo)(({dataFAQ:e,dataHeading:t})=>(0,Q.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6",children:[t&&(0,Q.jsx)(k,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading||"h2",align:"left",colorScheme:t?.colorScheme||"pink",sizeHeading:t?.sizeHeading,className:r("md:mb-0 mb-0 mt-2 col-span-1 text-center md:text-left",t?.className)}),e&&(0,Q.jsx)("div",{className:"col-span-2",children:e[0]?.contents.map((o,a)=>(0,Q.jsx)(tt,{type:"single",collapsible:!0,className:"w-full",children:(0,Q.jsxs)(ot,{value:o.title,children:[(0,Q.jsx)(at,{className:"font-bold",children:o.title}),(0,Q.jsx)(it,{children:(0,Ki.default)(o.description)})]})},o.title+a))})]})),qs=(0,uo.memo)(({dataFAQ:e,dataHeading:t})=>(0,Q.jsxs)(uo.default.Fragment,{children:[t&&(0,Q.jsx)(k,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading,align:"center",colorScheme:t?.colorScheme||"pink",sizeHeading:t?.sizeHeading,className:r(t?.className)}),e&&(0,Q.jsxs)(Ft,{defaultValue:e[0]?.title,children:[(0,Q.jsx)(yt,{className:"flex items-center sm:justify-center",children:e.map((o,a)=>(0,Q.jsx)(wt,{value:o.title,children:o.title},o.title+a))}),e.map((o,a)=>(0,Q.jsx)(Nt,{className:"max-w-3xl mx-auto",value:o.title,children:o.contents.map((i,n)=>(0,Q.jsx)(tt,{type:"single",collapsible:!0,className:"w-full",children:(0,Q.jsxs)(ot,{value:i.title,children:[(0,Q.jsx)(at,{className:"font-bold",children:i.title}),(0,Q.jsx)(it,{children:(0,Ki.default)(i.description)})]})},i.title+n))},o.title+a))]})]}));var et=require("react/jsx-runtime"),Hm=({template:e,dataFAQ:t,dataHeading:o})=>{switch(e){case 1:return(0,et.jsx)(Yi,{dataFAQ:t,dataHeading:o});case 2:return(0,et.jsx)(qs,{dataFAQ:t,dataHeading:o});default:return(0,et.jsx)(Yi,{dataFAQ:t,dataHeading:o})}},Fm=({dataHeading:e,dataFAQ:t,template:o})=>(0,et.jsx)(et.Fragment,{children:Hm({dataHeading:e,dataFAQ:t,template:o})}),Zs=({dataHeading:e,dataFAQ:t=[],className:o="",background:a=""})=>{let i=t&&t?.length>1?2:1;return(0,et.jsx)(ce,{className:r(o),background:a,children:(0,et.jsx)(Fm,{dataHeading:e,dataFAQ:t,template:i})})};var ma=g(require("react"),1);var Ji=g(require("html-react-parser"),1);var N=require("react/jsx-runtime"),_m=({news:e})=>{let t=(o,a)=>{o?.preventDefault(),o?.stopPropagation(),window.open(a,"_blank")};return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)("div",{className:"rounded-md md:rounded-none aspect-1 md:aspect-[77/37] relative overflow-hidden block bg-gray-100",children:(0,N.jsxs)("picture",{children:[(0,N.jsx)("source",{media:"(min-width: 640px)",srcSet:e?.thumbnailDesktop}),(0,N.jsx)("img",{className:"object-cover w-full h-full",src:e?.thumbnailMobile,alt:e?.title})]})}),(0,N.jsxs)("div",{className:"flex flex-col flex-1 mt-3 md:mt-0 md:p-3",children:[(0,N.jsx)("div",{className:"text-gray-900 font-medium text-sm group-hover:text-pink-500 flex-1 line-clamp-2 md:line-clamp-none",children:e?.title}),(0,N.jsxs)("div",{className:"flex items-center space-x-1 mt-2",children:[e?.category&&e?.categoryUrl&&(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(qe,{variant:"primary",className:"text-xs",onClick:o=>t(o,e?.categoryUrl||""),children:e?.category}),(0,N.jsx)("span",{className:"flex-none",children:"\xB7"})]}),(0,N.jsx)("div",{className:"text-gray-500 text-xs flex-none",children:e?.dateTime})]})]})]})},er=(0,ma.memo)(({dataHeading:e,dataHorizontalScroll:t,dataNews:o,onClickModal:a,onClickLoadMore:i})=>{let{showGradientOverlay:n=!0,gradientOverlayColor:l,className:c}=t||{},f=(d,v,x)=>{d?.preventDefault(),d?.stopPropagation(),a?a(v):window.open(x,"_blank")},p=(d,v)=>(0,N.jsxs)("div",{children:[(0,N.jsx)("div",{className:r("flex flex-row flex-wrap -mx-2 gap-y-5",d?.newsList?.length<4?"justify-center":""),children:d?.newsList?.map((x,A)=>(0,N.jsx)("div",{className:"px-2 basis-1/2 lg:basis-1/4",children:(0,N.jsx)("div",{onClick:V=>f(V,x?.id,x?.url),className:r("cursor-pointer group flex flex-col md:h-full md:rounded-md overflow-hidden md:shadow-md md:bg-white",d?.classNameItem),children:(0,N.jsx)(_m,{news:x})},x?.id)},A))}),d?.isShowBtn&&(0,N.jsx)("div",{className:"w-full flex items-center justify-center mt-8",children:(0,N.jsxs)(It,{action:i?()=>i?.(v):d?.btnUrl,newTab:d?.isNewTab,variant:"outline",children:[(0,Ji.default)(d.btnName||"Xem th\xEAm"),d?.isloading?(0,N.jsx)(bo,{className:"animate-spin-loading ml-2 w-5 h-5"}):(0,Ji.default)(d?.btnIcon||"")]})})]},d?.title||v);return(0,N.jsxs)(ma.default.Fragment,{children:[e&&(0,N.jsx)(k,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:r(e?.className)}),o?.length>1?(0,N.jsxs)(Ft,{defaultValue:o[0]?.title,children:[(0,N.jsxs)(oa,{showGradientOverlay:n,gradientOverlayColor:l,className:c,children:[(0,N.jsx)(aa,{className:"mb-6",children:(0,N.jsx)(yt,{className:"flex items-center md:justify-center mb-6 overflow-visible w-auto mb-0",children:o.map((d,v)=>(0,N.jsx)(wt,{value:d.title,children:d.title},d.title+v))})}),(0,N.jsx)(ia,{}),(0,N.jsx)(ra,{})]}),o.map((d,v)=>(0,N.jsx)(Nt,{value:d.title,children:p(d,v)},d.title+v))]}):o?.length===1&&o[0]&&p(o[0],0)]})});var vt=require("react/jsx-runtime"),zm=({template:e,dataNews:t,dataHeading:o,dataHorizontalScroll:a,onClickModal:i,onClickLoadMore:n})=>{switch(e){case 1:return(0,vt.jsx)(er,{dataNews:t,dataHeading:o,dataHorizontalScroll:a,onClickModal:i,onClickLoadMore:n});default:return(0,vt.jsx)(er,{dataNews:t,dataHeading:o,dataHorizontalScroll:a,onClickModal:i,onClickLoadMore:n})}},Bm=({dataHeading:e,dataHorizontalScroll:t,dataNews:o,template:a,onClickModal:i,onClickLoadMore:n})=>(0,vt.jsx)(vt.Fragment,{children:zm({dataHeading:e,dataHorizontalScroll:t,dataNews:o,template:a,onClickModal:i,onClickLoadMore:n})}),Ks=({dataHeading:e,dataHorizontalScroll:t,dataNews:o=[],className:a,background:i,template:n=1,onClickModal:l,onClickLoadMore:c})=>(0,vt.jsx)(ce,{className:r(a),background:i,children:(0,vt.jsx)(Bm,{dataHeading:e,dataHorizontalScroll:t,dataNews:o,template:n,onClickModal:l,onClickLoadMore:c})});var U=require("react/jsx-runtime"),Ys=({dataHeading:e,dataCTA:t,dataButtons:o})=>(0,U.jsxs)("div",{className:"rounded-2xl block relative overflow-hidden lg:overflow-visible p-6 md:py-14 md:px-10 bg-pink-50",style:{background:t?.background},children:[e&&(0,U.jsx)(k,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"center",colorScheme:e.colorScheme||"black",sizeHeading:e.sizeHeading,className:e.className}),o&&(0,U.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:"center"})]}),Vm=({dataHeading:e,dataCTA:t,dataButtons:o,dataMedia:a})=>(0,U.jsxs)("div",{className:"grid gap-6 grid-cols-1 md:grid-cols-2 rounded-2xl block relative overflow-hidden lg:overflow-visible p-6 pb-0 md:px-10 bg-pink-700 md:pb-0 md:pt-0",style:t?.background?{background:t.background}:{},children:[(0,U.jsxs)("div",{className:"md:py-14 flex flex-col justify-center",children:[e&&(0,U.jsx)(k,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"left",colorScheme:e.colorScheme||"white",sizeHeading:e.sizeHeading,className:e.className}),o&&(0,U.jsx)(M,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:"left"})]}),(0,U.jsx)("div",{className:" max-w-sm mx-auto md:ml-auto md:mr-0 w-full md:pt-10 self-end",children:a&&(0,U.jsx)(be,{ratio:4/3,children:(0,U.jsx)("img",{src:a.src,alt:a.alt,className:"h-full w-full rounded-md object-contain"})})})]}),Om=({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})=>{switch(e){case 1:return(0,U.jsx)(Ys,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i});case 2:return(0,U.jsx)(Vm,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i});default:return(0,U.jsx)(Ys,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})}},Wm=({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})=>(0,U.jsx)(U.Fragment,{children:Om({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})}),Js=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataCTA:n,dataButtons:l,dataMedia:c})=>(0,U.jsx)(ce,{className:o,idSection:a,background:t,children:(0,U.jsx)(Wm,{template:e,dataHeading:i,dataCTA:n,dataButtons:l,dataMedia:c})});var bl=g(require("color"),1),xl=g(require("tailwindcss/plugin.js"),1);var We="250ms",el={".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":We},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":We},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":We},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":We},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":We},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":We},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":We},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":We},".transition-transform-colors":{"transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":We},".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":We}};var tl={".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"}};var ol={".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 al={...tl,...el,...ol};var il=require("flat");function Gm(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 rl=e=>Gm((0,il.flatten)(e,{safe:!0,delimiter:"-"}));var nl={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var sl={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var ll={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var ml={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var cl={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var dl={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var pl={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var fl={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var gl={white:"#ffffff",black:"#000000",blue:nl,green:sl,pink:ll,purple:ml,red:cl,yellow:dl,gray:fl,orange:pl};var tr={...gl};var ul={"disabled-opacity":.5,"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)"},radius:{none:"0px",sm:"0.125rem",default:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},"z-index":{negative:"-1",workbench:"0",default:"1","workbench-header":"10",modal:"100","modal-content":"101",dropdown:"1000",tooltip:"10000",notification:"100000"},"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"},"line-height":{xxs:"1rem",xs:"1rem",sm:"1.25rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.25rem","4xl":"2.5rem","5xl":"1","6xl":"1","7xl":"1","8xl":"1","9xl":"1"}};var vl={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"}}}};var $m=e=>{let t={utilities:{},colors:{}},o=rl(tr),a=ul,i=":root";return t.utilities[i]={},Object.entries(o).forEach(([n,l])=>{if(l)try{let[c,f,p]=(0,bl.default)(l).rgb().array(),d=`--${e}-${n}`;t.utilities[i][d]=`${c} ${f} ${p}`,t.colors[n]=`rgb(var(${d}) / <alpha-value>)`}catch(c){console.log("error",c?.message)}}),Object.entries(a).forEach(([n,l])=>{if(!l)return;let c=`--${e}-${n}`;if(typeof l=="object")Object.entries(l).forEach(([f,p])=>{let d=`${c}-${f}`;t.utilities[i][d]=p});else{let f=c.includes("opacity")&&typeof l=="number"?l?.toString().replace(/^0\./,"."):l;t.utilities[i][c]=f}}),t},hl=()=>{let e="mobase",t=$m(e);return(0,xl.default)(({addBase:o,addUtilities:a,addComponents:i})=>{i({".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}),a({...al})},{theme:{container:{center:!0},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},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:{...tr,...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)`},borderRadius:{none:`var(--${e}-radius-none)`,sm:`var(--${e}-radius-sm)`,DEFAULT:`var(--${e}-radius-default)`,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)`,full:`var(--${e}-radius-full)`},fontSize:{xxs:[`var(--${e}-font-size-xxs)`,`var(--${e}-line-height-xxs)`],xs:[`var(--${e}-font-size-xs)`,`var(--${e}-line-height-xs)`],sm:[`var(--${e}-font-size-sm)`,`var(--${e}-line-height-sm)`],base:[`var(--${e}-font-size-base)`,`var(--${e}-line-height-base)`],lg:[`var(--${e}-font-size-lg)`,`var(--${e}-line-height-lg)`],xl:[`var(--${e}-font-size-xl)`,`var(--${e}-line-height-xl)`],"2xl":[`var(--${e}-font-size-2xl)`,`var(--${e}-line-height-2xl)`],"3xl":[`var(--${e}-font-size-3xl)`,`var(--${e}-line-height-3xl)`],"4xl":[`var(--${e}-font-size-4xl)`,`var(--${e}-line-height-4xl)`],"5xl":[`var(--${e}-font-size-5xl)`,`var(--${e}-line-height-5xl)`],"6xl":[`var(--${e}-font-size-6xl)`,`var(--${e}-line-height-6xl)`],"7xl":[`var(--${e}-font-size-7xl)`,`var(--${e}-line-height-7xl)`],"8xl":[`var(--${e}-font-size-8xl)`,`var(--${e}-line-height-8xl)`],"9xl":[`var(--${e}-font-size-9xl)`,`var(--${e}-line-height-9xl)`]},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)`},...vl}}})};var y=require("react/jsx-runtime"),yl=(0,y.jsxs)(y.Fragment,{children:[(0,y.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,y.jsx)("meta",{name:"distribution",content:"Global"}),(0,y.jsx)("meta",{name:"author",content:"V\xED MoMo"}),(0,y.jsx)("meta",{property:"fb:app_id",content:"320653355376196"}),(0,y.jsx)("meta",{property:"fb:pages",content:"138010322921640"}),(0,y.jsx)("link",{rel:"shortcut icon",href:"/favicon.ico"}),(0,y.jsx)("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),(0,y.jsx)("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),(0,y.jsx)("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),(0,y.jsx)("meta",{name:"language",content:"vietnamese"}),(0,y.jsx)("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),(0,y.jsx)("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),(0,y.jsx)("meta",{name:"RATING",content:"GENERAL"}),(0,y.jsx)("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),(0,y.jsx)("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),(0,y.jsx)("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),(0,y.jsx)("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),(0,y.jsx)("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),(0,y.jsx)("link",{rel:"dns-prefetch",href:"//facebook.com"}),(0,y.jsx)("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),(0,y.jsx)("link",{rel:"dns-prefetch",href:"//www.google.com"}),(0,y.jsx)("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),(0,y.jsx)("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),(0,y.jsx)("link",{rel:"preconnect",href:"//connect.facebook.net"}),(0,y.jsx)("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),(0,y.jsx)("link",{rel:"preconnect",href:"//www.google-analytics.com"}),(0,y.jsx)("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),(0,y.jsx)("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),(0,y.jsx)("link",{rel:"preconnect",href:"//www.google.com"}),(0,y.jsx)("link",{rel:"preconnect",href:"//www.google.com.vn"}),(0,y.jsx)("link",{rel:"preconnect",href:"//www.googleadservices.com"}),(0,y.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
|
|
194
190
|
"@context": "https://schema.org/",
|
|
195
191
|
"@type": "WebSite",
|
|
196
192
|
"@id":"https://www.momo.vn/#website",
|
|
@@ -200,7 +196,7 @@
|
|
|
200
196
|
"@type": "SearchAction",
|
|
201
197
|
"target": "https://www.momo.vn/tim-kiem?q={search_term_string}",
|
|
202
198
|
"query-input": "required name=search_term_string"
|
|
203
|
-
}}`}}),(0,
|
|
199
|
+
}}`}}),(0,y.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
|
|
204
200
|
"@context": "https://schema.org",
|
|
205
201
|
"@type": "Organization",
|
|
206
202
|
"name": "Si\xEAu \u1EE9ng d\u1EE5ng MoMo",
|
|
@@ -235,5 +231,5 @@
|
|
|
235
231
|
"https://www.linkedin.com/company/momo-mservice/",
|
|
236
232
|
"https://github.com/momo-wallet"
|
|
237
233
|
]
|
|
238
|
-
}`}})]});0&&(module.exports={Accordion,AccordionContent,AccordionItem,AccordionTrigger,ActionButton,AlertDialog,AlertDialogAction,AlertDialogCancel,AlertDialogContent,AlertDialogDescription,AlertDialogFooter,AlertDialogHeader,AlertDialogOverlay,AlertDialogPortal,AlertDialogTitle,AlertDialogTrigger,AspectRatio,Badge,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,CTASection,Calendar,Callout,Card,CardContent,CardDescription,CardFooter,CardHeader,CardTitle,Carousel,CarouselContent,CarouselItem,CarouselNext,CarouselPrevious,Checkbox,ChoiceboxGroup,ChoiceboxGroupItem,ChoiceboxMultiItem,Combobox,ComboboxContent,ComboboxTrigger,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,Comment,DatePicker,Dialog,DialogBody,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogQr,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,FAQSection,FeatureSection,Footer,Form,FormControl,FormDescription,FormField,FormItem,FormLabel,FormMessage,HeaderNavigation,Heading,HeadingGroup,HeadingSub,HeadingTagline,HeroSection,HorizontalContent,HorizontalNext,HorizontalPrevious,HorizontalScroll,IconButton,LightBoxGalleryContent,LightboxGallery,LightboxThumbnail,NavigationMenu,NavigationMenuContent,NavigationMenuItem,NavigationMenuLink,NavigationMenuList,NavigationMenuTrigger,NewsSection,Pagination,Popover,PopoverContent,PopoverTrigger,ProgressSteps,ProgressStepsItem,ProgressStepsItemTrigger,Progressbar,RadioGroup,RadioGroupItem,ReadMoreLite,SearchBar,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,SiteMeta,Slider,SocialProofSection,Stepper,Switch,Tabs,TabsContent,TabsList,TabsTrigger,TestimonialSection,TextArea,TextButton,TextInput,ToastAction,Toaster,Tooltip,TooltipArrow,TooltipContent,TooltipProvider,TooltipTrigger,badgeVariants,buttonVariants,mobaseTW,navigationMenuTriggerStyle,textButtonVariants,toast,useFormField,useToast});
|
|
234
|
+
}`}})]});0&&(module.exports={Accordion,AccordionContent,AccordionItem,AccordionTrigger,ActionButton,AlertDialog,AlertDialogAction,AlertDialogCancel,AlertDialogContent,AlertDialogDescription,AlertDialogFooter,AlertDialogHeader,AlertDialogOverlay,AlertDialogPortal,AlertDialogTitle,AlertDialogTrigger,AspectRatio,Badge,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Button,CTASection,Calendar,Callout,Card,CardContent,CardDescription,CardFooter,CardHeader,CardTitle,Carousel,CarouselContent,CarouselItem,CarouselNext,CarouselPrevious,Checkbox,ChoiceboxGroup,ChoiceboxGroupItem,ChoiceboxMultiItem,Combobox,ComboboxContent,ComboboxTrigger,Command,CommandDialog,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,Comment,DatePicker,Dialog,DialogBody,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogQr,DialogTitle,DialogTrigger,DropdownMenu,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,FAQSection,FeatureSection,Footer,Form,FormControl,FormDescription,FormField,FormItem,FormLabel,FormMessage,HeaderNavigation,Heading,HeadingGroup,HeadingSub,HeadingTagline,HeroSection,HorizontalContent,HorizontalNext,HorizontalPrevious,HorizontalScroll,IconButton,LightBoxGalleryContent,LightboxGallery,LightboxThumbnail,NavigationMenu,NavigationMenuContent,NavigationMenuItem,NavigationMenuLink,NavigationMenuList,NavigationMenuTrigger,NewsSection,Pagination,Popover,PopoverContent,PopoverTrigger,ProgressSteps,ProgressStepsItem,ProgressStepsItemTrigger,Progressbar,RadioGroup,RadioGroupItem,ReadMoreLite,SearchBar,Select,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,SiteMeta,Skeleton,Slider,SocialProofSection,Stepper,Switch,Tabs,TabsContent,TabsList,TabsTrigger,TestimonialSection,TextArea,TextButton,TextInput,ToastAction,Toaster,Tooltip,TooltipArrow,TooltipContent,TooltipProvider,TooltipTrigger,badgeVariants,buttonVariants,mobaseTW,navigationMenuTriggerStyle,textButtonVariants,toast,useFormField,useToast});
|
|
239
235
|
//# sourceMappingURL=index.cjs.map
|