@momo-webplatform/mobase 0.2.36 → 0.2.37

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/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import*as $e from"react";import*as j from"@radix-ui/react-accordion";import{ChevronDownIcon as Ki}from"@heroicons/react/20/solid";import{clsx as Gi}from"clsx";import*as $i from"react";import{twMerge as Ui}from"tailwind-merge";var le={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 vo={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 Ge=[{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"}],zt=[{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&amp;utm_medium=download&amp;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 B={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"}};import{useEffect as ji,useLayoutEffect as qi,useState as Qi}from"react";import Xi from"ua-parser-js";function a(...e){return Ui(Gi(e))}var Ft=()=>{if(!(typeof window>"u"))return!!navigator?.userAgent?.includes(process.env.NEXT_PUBLIC_REACT_APP_MOMO_APP_USER_AGENT||"")},Zi=()=>Xi().device.type==="mobile",Yi=typeof window<"u"?qi:ji,bo=()=>{let[e,t]=Qi(!1);return Yi(()=>{t(Zi()||Ft())},[]),e};import{jsx as Ee,jsxs as Ji}from"react/jsx-runtime";var ct=$e.forwardRef(({className:e,...t},o)=>Ee(j.Root,{ref:o,...t}));ct.displayName="AccordionRoot";var dt=$e.forwardRef(({className:e,...t},o)=>Ee(j.Item,{ref:o,className:a("border-b border-gray-200",e),...t}));dt.displayName="AccordionItem";var pt=$e.forwardRef(({className:e,children:t,...o},i)=>Ee(j.Header,{className:"flex",children:Ji(j.Trigger,{ref:i,className:a("flex flex-1 items-center text-left justify-between py-4 font-medium transition-all hover:underline hover:text-pink-600 [&[data-state=open]]:text-pink-600 [&[data-state=open]>svg]:rotate-180 text-gray-900",e),...o,children:[t,Ee(Ki,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));pt.displayName=j.Trigger.displayName;var ft=$e.forwardRef(({className:e,children:t,...o},i)=>Ee(j.Content,{ref:i,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ",...o,children:Ee("div",{className:a("pb-4 pt-0 text-gray-900 ",e),children:t})}));ft.displayName=j.Content.displayName;import{useState as dr}from"react";import*as yo from"react";import{Slot as or}from"@radix-ui/react-slot";import{cva as ar}from"class-variance-authority";import{jsx as q,jsxs as tr}from"react/jsx-runtime";var er=({className:e})=>tr("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[q("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"}),q("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"}),q("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"}),q("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"}),q("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"}),q("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"}),q("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"}),q("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"}),q("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"}),q("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"}),q("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"}),q("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"})]}),xo=er;import{Fragment as rr,jsx as Ot,jsxs as ir}from"react/jsx-runtime";var te=ar("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"}}),E=yo.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isLoading:r=!1,isDisabled:n=!1,...l},c)=>{let d=i?or:"button",g=a(te({variant:t,size:o,className:e}),{"cursor-wait":r});return Ot(rr,{children:i?Ot(d,{className:g,type:"button",disabled:n,ref:c,...l,children:l.children}):ir(d,{className:g,type:"button",disabled:n,ref:c,...l,children:[r&&Ot(xo,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),l.children]})})});E.displayName="Button";import*as Ue from"react";import*as D from"@radix-ui/react-dialog";import{XMarkIcon as nr}from"@heroicons/react/16/solid";import{jsx as me,jsxs as Wt}from"react/jsx-runtime";var je=D.Root,sr=D.Trigger,wo=D.Portal,lr=D.Close,Gt=Ue.forwardRef(({className:e,...t},o)=>me(D.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-black/60 !duration-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Gt.displayName=D.Overlay.displayName;var _e=Ue.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:i="md",position:r="center",height:n="auto",isFull:l=!1,children:c,...d},g)=>{let p={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"},k={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},H={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},F=[p.base,p[r],k[i],H[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 Wt(wo,{children:[me(Gt,{}),Wt(D.Content,{ref:g,className:a(...F),...d,children:[c,!o&&Wt(D.Close,{className:a("absolute md:top-4 top-2 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100 data-[state=open]:text-gray-700 text-gray-900 w-8 h-8 flex justify-center items-center rounded-full before:opacity-0 hover:before:opacity-100 before:transition-opacity before:z-[-1] before:content-[''] before:absolute before:inset-0 before:rounded-full before:select-none before:left-0 before:top-0 before:bg-gray-200 left-3 md:left-auto md:right-4",t&&"left-auto right-3 md:right-4"),title:"\u0110\xF3ng",children:[me(nr,{className:"h-5 w-5 text-gray-700"}),me("span",{className:"sr-only",children:"Close"})]})]})]})});_e.displayName=D.Content.displayName;var Po=({className:e,...t})=>me("div",{className:a("dialog-header py-2 md:py-4 h-12 md:h-16 px-10 md:px-12 items-center justify-center flex border-b border-gray-200 w-full shrink-0",e),...t});Po.displayName="DialogHeader";var gt=({className:e,isCondensed:t=!1,...o})=>me("div",{className:a("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});gt.displayName="DialogBody";var No=({className:e,isDivider:t=!0,...o})=>me("div",{className:a("dialog-footer flex sm:flex-row justify-center [&>*]:basis-1/2 [&>*]:sm:basis-auto sm:justify-end space-x-2 px-6 pb-4 shrink-0",t&&"border-gray-200 border-t py-4",e),...o});No.displayName="DialogFooter";var Co=Ue.forwardRef(({className:e,...t},o)=>me(D.Title,{ref:o,className:a("text-base font-semibold line-clamp-1 max-w-full",e),...t}));Co.displayName=D.Title.displayName;var Ro=Ue.forwardRef(({className:e,...t},o)=>me(D.Description,{ref:o,className:a("text-sm text-gray-700",e),...t}));Ro.displayName=D.Description.displayName;import{QRCodeSVG as mr}from"qrcode.react";import{Fragment as $t,jsx as u,jsxs as V}from"react/jsx-runtime";var cr=({img:e="",children:t,isQrForAll:o})=>V($t,{children:[u("div",{className:"qrcode__scan__container",children:V("div",{className:"qrcode__scan",children:[u("div",{className:"qrcode__gradient",children:u("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),u("div",{className:"qrcode__border",children:u("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),u("div",{className:"qrcode__image p-4",children:e?u("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),u("div",{className:"mt-4 text-sm text-white",children:o?V($t,{children:[u("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),u("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"})]}):V($t,{children:[u("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:u("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",u("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),u("style",{children:`
1
+ import*as at from"react";import*as K from"@radix-ui/react-accordion";import{ChevronDownIcon as kr}from"@heroicons/react/20/solid";import*as xr from"react";import{twMerge as yr}from"tailwind-merge";var fe={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 Ho={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 ot=[{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"}],Qt=[{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&amp;utm_medium=download&amp;utm_campaign=momo-1dong"},{Name:"Google Play",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",Link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}];var V={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Phone_Ext_3:"02855555555",Phone_Ext_3_Format:"028.5555.5555",Email:"hotro@momo.vn"}};import{useEffect as wr,useLayoutEffect as Nr,useState as Pr}from"react";import Cr from"ua-parser-js";function i(...e){return yr(e)}var Xt=()=>{if(!(typeof window>"u"))return!!navigator?.userAgent?.includes(process.env.NEXT_PUBLIC_REACT_APP_MOMO_APP_USER_AGENT||"")},Rr=()=>Cr().device.type==="mobile",Tr=typeof window<"u"?Nr:wr,Bo=()=>{let[e,o]=Pr(!1);return Tr(()=>{o(Rr()||Xt())},[]),e};import{jsx as $e,jsxs as Sr}from"react/jsx-runtime";var wt=at.forwardRef(({className:e,...o},t)=>$e(K.Root,{ref:t,...o}));wt.displayName="AccordionRoot";var Nt=at.forwardRef(({className:e,...o},t)=>$e(K.Item,{ref:t,className:i("border-b border-gray-200",e),...o}));Nt.displayName="AccordionItem";var Pt=at.forwardRef(({className:e,children:o,...t},a)=>$e(K.Header,{className:"flex",children:Sr(K.Trigger,{ref:a,className:i("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),...t,children:[o,$e(kr,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));Pt.displayName=K.Trigger.displayName;var Ct=at.forwardRef(({className:e,children:o,...t},a)=>$e(K.Content,{ref:a,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ",...t,children:$e("div",{className:i("pb-4 pt-0 text-gray-900 ",e),children:o})}));Ct.displayName=K.Content.displayName;import{useState as zr}from"react";import*as zo from"react";import{Slot as Mr}from"@radix-ui/react-slot";import{cva as Lr}from"class-variance-authority";import{jsx as Y,jsxs as Ar}from"react/jsx-runtime";var Dr=({className:e})=>Ar("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[Y("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"}),Y("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"}),Y("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"}),Y("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"}),Y("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"}),Y("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"}),Y("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"}),Y("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"}),Y("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"}),Y("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"}),Y("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"}),Y("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"})]}),Fo=Dr;import{Fragment as Er,jsx as Zt,jsxs as Ir}from"react/jsx-runtime";var ne=Lr("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"}}),J=zo.forwardRef(({className:e,variant:o="primary",size:t="default",asChild:a=!1,isLoading:r=!1,isDisabled:n=!1,...s},c)=>{let d=a?Mr:"button",f=i(ne({variant:o,size:t,className:e}),{"cursor-wait":r});return Zt(Er,{children:a?Zt(d,{className:f,type:"button",disabled:n,ref:c,...s,children:s.children}):Ir(d,{className:f,type:"button",disabled:n,ref:c,...s,children:[r&&Zt(Fo,{className:`${t==="default"||t==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),s.children]})})});J.displayName="Button";import*as it from"react";import*as D from"@radix-ui/react-dialog";import{XMarkIcon as _r}from"@heroicons/react/16/solid";import{jsx as ue,jsxs as Kt}from"react/jsx-runtime";var Le=D.Root,Yt=D.Trigger,Vo=D.Portal,Hr=D.Close,Jt=it.forwardRef(({className:e,...o},t)=>ue(D.Overlay,{ref:t,className:i("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),...o}));Jt.displayName=D.Overlay.displayName;var we=it.forwardRef(({className:e,positionRightCloseBtn:o,hideCloseBtn:t=!1,size:a="md",position:r="center",height:n="auto",isFull:s=!1,children:c,...d},f)=>{let p={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"},S={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},z={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},G=[p.base,p[r],S[a],z[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 Kt(Vo,{children:[ue(Jt,{}),Kt(D.Content,{ref:f,className:i(...G),...d,children:[c,!t&&Kt(D.Close,{className:i("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",o&&"left-auto right-3 md:right-4"),title:"\u0110\xF3ng",children:[ue(_r,{className:"h-5 w-5 text-gray-700"}),ue("span",{className:"sr-only",children:"Close"})]})]})]})});we.displayName=D.Content.displayName;var Oo=({className:e,...o})=>ue("div",{className:i("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),...o});Oo.displayName="DialogHeader";var Rt=({className:e,isCondensed:o=!1,...t})=>ue("div",{className:i("dialog-body p-6 flex-1 overflow-y-auto",o&&"p-5",e),...t});Rt.displayName="DialogBody";var Wo=({className:e,isDivider:o=!0,...t})=>ue("div",{className:i("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",o&&"border-gray-200 border-t py-4",e),...t});Wo.displayName="DialogFooter";var Go=it.forwardRef(({className:e,...o},t)=>ue(D.Title,{ref:t,className:i("text-base font-semibold line-clamp-1 max-w-full",e),...o}));Go.displayName=D.Title.displayName;var $o=it.forwardRef(({className:e,...o},t)=>ue(D.Description,{ref:t,className:i("text-sm text-gray-700",e),...o}));$o.displayName=D.Description.displayName;import{QRCodeSVG as Br}from"qrcode.react";import{Fragment as eo,jsx as v,jsxs as O}from"react/jsx-runtime";var Fr=({img:e="",children:o,isQrForAll:t})=>O(eo,{children:[v("div",{className:"qrcode__scan__container",children:O("div",{className:"qrcode__scan",children:[v("div",{className:"qrcode__gradient",children:v("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),v("div",{className:"qrcode__border",children:v("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),v("div",{className:"qrcode__image p-4",children:e?v("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):o})]})}),v("div",{className:"mt-4 text-sm text-white",children:t?O(eo,{children:[v("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),v("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"})]}):O(eo,{children:[v("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:v("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",v("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),v("style",{children:`
2
2
  .qrcode__scan__container {
3
3
  padding: 15px;
4
4
  background-color: white;
@@ -67,7 +67,7 @@ import*as $e from"react";import*as j from"@radix-ui/react-accordion";import{Chev
67
67
  transform: translate3d(0, 30%, 0);
68
68
  }
69
69
  }
70
- `})]}),Re=({className:e,children:t,title:o,shortTitle:i,qrImage:r,qrLink:n,logoQr:l,isQrForAll:c=!1,...d})=>u(je,{...d,children:u(_e,{className:a("md:max-w-2xl lg:max-w-3xl h-auto md:max-h-screen max-h-screen overflow-hidden [&>button>svg]:text-white border-0",e),size:"xl",positionRightCloseBtn:!0,children:u(gt,{className:"p-0",children:V("div",{className:"flex flex-row flex-wrap",children:[u("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||V("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[V("div",{className:"flex flex-nowrap items-center",children:[u("div",{className:"flex-none",children:u("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),V("div",{className:"flex-1 pl-4",children:[u("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),u("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"})]})]}),V("div",{className:"flex flex-nowrap items-center",children:[u("div",{className:"flex-none",children:u("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),V("div",{className:"flex-1 pl-4",children:[u("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),u("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),V("div",{className:"flex flex-nowrap items-center",children:[u("div",{className:"flex-none",children:u("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),V("div",{className:"flex-1 pl-4",children:[u("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),V("div",{className:"mt-1 text-gray-500 ",children:["B\u1EA5m v\xE0o th\xF4ng b\xE1o hi\u1EC3n th\u1ECB \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng ho\u1EB7c"," ",i||"Truy c\u1EADp ngay"]})]})]})]})}),u("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:V("div",{className:"px-5 py-10 text-center",children:[o&&u("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),V("div",{className:"relative",children:[c&&u("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:u("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),u(cr,{img:r,isQrForAll:c,children:n&&u(mr,{value:n,size:215,imageSettings:{src:`${l||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});import{Fragment as fr,jsx as ut,jsxs as gr}from"react/jsx-runtime";var pr=({action:e,newTab:t,offset:o,dialogQrProps:i,className:r,children:n,...l})=>{let[c,d]=dr(!1),g=bo(),p=Ft()||typeof window<"u"&&window.location.search.includes("view=app"),k=!!i?.qrLink,H=()=>{let L=k?i?.qrLink:e;return typeof L=="string"?L.trim():""},F=()=>{let L=H();!L&&typeof e!="function"||(typeof e=="function"?e():window.open(/^http|^momo:/.test(L)?L:`${process.env.NEXT_PUBLIC_REACT_APP_BASE_PATH}${L}`,t?"_blank":"_self"))},M=(L,R=0)=>{let Ne=document.querySelector(L);if(!Ne)return;let Ce=Ne.getBoundingClientRect().top+window.scrollY-R;window.scrollTo({top:Ce,behavior:"smooth"})},C=()=>{typeof e=="string"&&e.startsWith("#")?M(e,o):F()},O=()=>gr(fr,{children:[ut(E,{...l,className:r,onClick:()=>d(!0),"data-name":"button-action-with-qr",children:n}),ut(Re,{...i,open:c,onOpenChange:()=>d(!1),qrLink:i?.qrLink||""})]});return k?g||p?i?.isQrForAll?O():ut(E,{...l,className:r,onClick:F,"data-name":"button-action-with-qr",children:n}):O():ut(E,{...l,onClick:C,className:a("cursor-pointer",r),"data-name":"button-action-without-qr",rel:"noreferrer",children:n})};import*as He from"react";import{ChevronRightIcon as ur,DotsHorizontalIcon as hr}from"@radix-ui/react-icons";import{Slot as vr}from"@radix-ui/react-slot";import{jsx as ce,jsxs as br}from"react/jsx-runtime";var To=He.forwardRef(({className:e,...t},o)=>ce("nav",{ref:o,"aria-label":"breadcrumb",className:a("",e),...t}));To.displayName="Breadcrumb";var ko=He.forwardRef(({className:e,...t},o)=>ce("ol",{ref:o,className:a("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...t}));ko.displayName="BreadcrumbList";var Do=He.forwardRef(({className:e,...t},o)=>ce("li",{ref:o,className:a("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));Do.displayName="BreadcrumbItem";var So=He.forwardRef(({asChild:e,className:t,...o},i)=>ce(e?vr:"a",{ref:i,className:a("transition-colors hover:text-foreground",t),...o}));So.displayName="BreadcrumbLink";var Ao=He.forwardRef(({className:e,...t},o)=>ce("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:a("text-sm text-gray-500",e),...t}));Ao.displayName="BreadcrumbPage";var Mo=({children:e,className:t,...o})=>ce("li",{role:"presentation","aria-hidden":"true",className:a("text-gray-900",t),...o,children:e??ce(ur,{className:"w-2 h-2"})});Mo.displayName="BreadcrumbSeparator";var Io=({className:e,...t})=>br("span",{role:"presentation","aria-hidden":"true",className:a("flex h-5 w-5 items-center justify-center",e),...t,children:[ce(hr,{className:"w-4 h-4 text-gray-900"}),ce("span",{className:"sr-only",children:"More"})]});Io.displayName="BreadcrumbElipssis";import*as vt from"react";import{enUS as yr,vi as wr}from"date-fns/locale";import{DayPicker as Pr}from"react-day-picker";import{ChevronLeft as Nr,ChevronRight as Cr}from"lucide-react";import Rr from"lunisolar";import*as Lo from"react";import*as qe from"@radix-ui/react-checkbox";import{CheckIcon as xr}from"@heroicons/react/16/solid";import{jsx as Ut}from"react/jsx-runtime";var ht=Lo.forwardRef(({className:e,...t},o)=>Ut(qe.Root,{ref:o,className:a("peer h-4 w-4 shrink-0 rounded border-2 disabled:bg-gray-300 border-gray-300 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:bg-gray-100 data-[state=checked]:border-none disabled:data-[state=checked]:bg-gray-400 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:bg-pink-500 data-[state=checked]:text-white",e),...t,children:Ut(qe.Indicator,{className:a("flex items-center justify-center text-current"),children:Ut(xr,{className:"h-4 w-4"})})}));ht.displayName=qe.Root.displayName;import{Fragment as Ar,jsx as oe,jsxs as jt}from"react/jsx-runtime";var Tr=({date:e,cusContent:t})=>{let o=null;return o=Rr(e).lunar,jt(Ar,{children:[t?t(e):e.getDate(),o&&oe("span",{className:"text-[8px] absolute top-1 right-0.5 leading-none text-gray-700 group-aria-selected:text-white group-aria-selected/mid:!text-gray-700 luna-date hidden group-[.show-luna]:block ",children:o.day})]})},kr={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 Dr({isShow:e,setIsShow:t,lang:o}){let i=vt.useId();return oe("div",{className:"w-full p-3 pt-0",children:jt("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[oe(ht,{checked:e,id:`check-show-luna-${i}`,onCheckedChange:r=>{typeof r=="boolean"&&t(r)}}),oe("label",{htmlFor:`check-show-luna-${i}`,className:"text-sm text-gray-900 peer-disabled:text-gray-400 leading-none peer-disabled:cursor-default cursor-pointer",children:o==="vi"?"Hi\u1EC7n ng\xE0y \xE2m l\u1ECBch":"Show lunar date"})]})})}var Sr=e=>e.getDay()===0||e.getDay()===6;function bt({className:e,classNames:t,showOutsideDays:o=!1,enableLunaDate:i=!1,lang:r="vi",cusContentDay:n,...l}){let[c,d]=vt.useState(!0);return oe(Pr,{locale:r==="vi"?wr:yr,showOutsideDays:o,className:a("border border-gray-200 rounded-b-md b bg-white shadow-md w-fit",e),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-y-0",month:"p-3 pt-0 w-full",caption:"flex justify-center p-3 bg-blue-50 relative items-center -mx-3 mb-3",caption_label:"text-sm font-medium text-gray-900",nav:"space-x-1 flex items-center",nav_button:a(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:a("font-medium rounded-md w-11 text-xs text-gray-500 [&:nth-child(7)]:text-red-600",r==="vi"?"[&:nth-child(6)]:text-red-600":"[&:nth-child(1)]:text-red-600"),row:"flex w-full mt-0.5 space-x-0.5",cell:"h-11 w-11 text-center text-sm p-0 relative",day:a(te({variant:"transparent"}),"h-11 w-11 text-center text-sm p-0 aria-selected:opacity-100 aria-selected:bg-pink-500 aria-selected:text-white [&.day-range-end.day-range-start]:rounded-md focus-within:relative focus-within:z-20 font-semibold relative group",i&&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:"!text-gray-900 !bg-pink-50 !rounded-none group/mid",day_hidden:"invisible",...t},modifiers:{weekend:Sr},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>oe(Nr,{className:"h-6 w-6"}),IconRight:()=>oe(Cr,{className:"h-6 w-6"}),DayContent:g=>oe(Tr,{date:g.date,cusContent:n}),Months:({children:g})=>jt("div",{className:"w-full",children:[oe("div",{className:a("flex flex-col sm:flex-row months-wrapper"),children:g}),i&&oe(Dr,{isShow:c,setIsShow:d,lang:r})]})},formatters:r==="vi"?kr:{},...l})}bt.displayName="Calendar";import*as _o from"react";import*as de from"@radix-ui/react-popover";import{jsx as Eo}from"react/jsx-runtime";var Qe=de.Root,Xe=de.Trigger,Be=_o.forwardRef(({className:e,align:t="center",sideOffset:o=4,...i},r)=>Eo(de.Portal,{children:Eo(de.Content,{ref:r,align:t,sideOffset:o,className:a("z-50 w-72 rounded-md border border-gray-200 bg-white p-4 sm:p-5 text-gray-900 shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...i})}));Be.displayName=de.Content.displayName;import{format as xt}from"date-fns";import{Calendar as Mr}from"lucide-react";import{QuestionMarkCircleIcon as Ir,XCircleIcon as Lr}from"@heroicons/react/16/solid";import{Fragment as Ho,jsx as ae,jsxs as Ze}from"react/jsx-runtime";var Er=({label:e,placeholder:t="Select a value",size:o=1,message:i,isError:r,disabled:n,dateFormat:l="dd/MM/yyyy",buttonProps:c,popoverProps:d,calendarProps:g})=>{let p=g?.selected||null;return Ze("div",{children:[Ze(Qe,{...d,children:[ae(Xe,{asChild:!0,children:Ze(E,{variant:"secondary",className:a("w-full justify-between text-left text-sm font-normal h-11 text-gray-900 overflow-visible hover:ring-1 focus:ring-1 hover:ring-gray-400 focus:ring-gray-400 [&[data-state=open]]:border-pink-500 [&[data-state=open]]:ring-pink-500 [&[data-state=open]]:ring-1 relative disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none disabled:text-gray-500",o===2&&"h-12 text-base",(!p||!(p instanceof Date)&&typeof p=="object"&&(!("from"in p)||!p.from))&&"text-gray-500",r&&"border-red-500 ring-red-500 ring-1"),disabled:n,...c,children:[ae("span",{className:"line-clamp-1 flex-1",children:p instanceof Date?xt(p,l):p&&typeof p=="object"&&"from"in p&&"to"in p?ae(Ho,{children:p.from?p.to?Ze(Ho,{children:[xt(p.from,l)," -"," ",xt(p.to,l)]}):xt(p.from,l):t}):t}),e&&ae("span",{className:a("absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",o===2&&" -top-2.5 text-sm",r&&"text-red-500"),children:e}),ae(Mr,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),ae(Be,{className:"w-auto !p-0 border-none",children:ae(bt,{...g})})]}),i&&Ze("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[r?ae(Lr,{width:16,height:16,className:"text-red-500"}):ae(Ir,{width:16,height:16,className:"text-gray-500"}),ae("span",{className:a(r?"text-red-500":"text-gray-500",o===2?"text-sm":"text-xs"),children:i})]})]})};import*as Te from"react";import*as y from"@radix-ui/react-alert-dialog";import{jsx as pe,jsxs as Br}from"react/jsx-runtime";var _r=y.Root,Hr=y.Trigger,Bo=y.Portal,qt=Te.forwardRef(({className:e,...t},o)=>pe(y.Overlay,{className:a("fixed inset-0 z-50 bg-black/70 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));qt.displayName=y.Overlay.displayName;var Vo=Te.forwardRef(({className:e,...t},o)=>Br(Bo,{children:[pe(qt,{}),pe(y.Content,{ref:o,className:a("fixed left-[50%] w-[90vw] bg-white text-gray-700 border border-gray-300 top-[50%] z-50 grid w- max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-xl",e),...t})]}));Vo.displayName=y.Content.displayName;var zo=({className:e,...t})=>pe("div",{className:a("flex flex-col space-y-2 text-left",e),...t});zo.displayName="AlertDialogHeader";var Fo=({className:e,...t})=>pe("div",{className:a("flex flex-row justify-end space-x-4",e),...t});Fo.displayName="AlertDialogFooter";var Oo=Te.forwardRef(({className:e,...t},o)=>pe(y.Title,{ref:o,className:a("text-lg text-gray-900 font-semibold",e),...t}));Oo.displayName=y.Title.displayName;var Wo=Te.forwardRef(({className:e,...t},o)=>pe(y.Description,{ref:o,className:a("text-sm text-muted-foreground",e),...t}));Wo.displayName=y.Description.displayName;var Go=Te.forwardRef(({className:e,...t},o)=>pe(y.Action,{ref:o,className:a(te({variant:"primary"}),"",e),...t}));Go.displayName=y.Action.displayName;var $o=Te.forwardRef(({className:e,...t},o)=>pe(y.Cancel,{ref:o,className:a(te({variant:"secondary"}),e),...t}));$o.displayName=y.Cancel.displayName;import*as Uo from"react";import{Slot as Vr}from"@radix-ui/react-slot";import{cva as zr}from"class-variance-authority";import{jsx as Fr}from"react/jsx-runtime";var ke=zr("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"}}),ue=Uo.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isDisabled:r=!1,...n},l)=>{let c=i?Vr:"button",d=a(ke({variant:t,size:o,className:e}));return Fr(c,{className:d,disabled:r,ref:l,...n,children:n.children})});ue.displayName="IconButton";import{createContext as Or,useContext as jo}from"react";import{jsx as Ye}from"react/jsx-runtime";var Qt=Or({align:"center"}),Wr=({color:e="pink",size:t="small",isTruncated:o=!1,className:i,children:r})=>{let n={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},l={small:"text-sm",large:"text-lg"};return Ye("div",{className:a("mb-1 font-semibold",n[e],l[t],o&&"truncate",i),children:r})},Gr=({as:e="h2",size:t="small",color:o="pink",isTruncated:i=!1,className:r,children:n})=>{let l=e,c={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},d={small:"lg:text-3xl text-2xl",large:"lg:text-4xl text-2xl"},{align:g}=jo(Qt);return Ye(l,{className:a("font-bold max-w-4xl",g==="center"?"mx-auto":"",c[o],d[t],i&&"truncate",r),children:n})},$r=({color:e="regular",size:t="small",marginTop:o="spacingX",isTruncated:i=!1,className:r,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"},d={none:"",spacingX:"mt-2",spacingM:"mt-3",spacingL:"mt-4",spacingXl:"mt-5",spacing2Xl:"mt-6"},{align:g}=jo(Qt);return Ye("div",{className:a("mt-2",g==="center"?"mx-auto max-w-3xl":"max-w-4xl",l[e],c[t],d[o],i&&"truncate",r),children:n})},Ur=({className:e,align:t="center",children:o})=>Ye("div",{className:a("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:Ye(Qt.Provider,{value:{align:t},children:o})});import{ChevronLeft as jr,ChevronRight as qr}from"lucide-react";import{Fragment as Qr,jsx as Q,jsxs as qo}from"react/jsx-runtime";function Qo({current:e,total:t,onChange:o}){let i=r=>Q("li",{children:Q("button",{className:a(ke({variant:e===r?"outline":"secondary",size:"sm"})),onClick:()=>o(r),children:r})},r);return Q("nav",{role:"navigation","aria-label":"pagination",className:a("mx-auto flex w-full justify-center"),children:qo("ul",{className:a("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&Q("li",{children:Q("button",{className:a(ke({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:Q(jr,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((r,n)=>i(n+1)):qo(Qr,{children:[i(1),e===1&&[i(2),i(3)],e>3&&Q("li",{children:Q("button",{className:a(ke({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e-3),children:"..."})}),e>2&&e!==1&&e!==t&&i(e-1),e>1&&e<t&&i(e),e<t-1&&e!==1&&i(e+1),e===t&&[i(t-2),i(t-1)],e<t-2&&e!==t&&Q("button",{className:a(ke({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),i(t)]}),t>1&&Q("li",{children:Q("button",{className:a(ke({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:Q(qr,{className:"h-4 w-4"})})})]})})}import*as yt from"react";import*as K from"@radix-ui/react-tabs";import{jsx as Xt}from"react/jsx-runtime";var Xr=K.Root,Xo=yt.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...i},r)=>Xt(K.List,{ref:r,className:a("inline-flex w-full flex-row items-center bg-muted text-muted-foreground space-x-5 overflow-x-auto [&::-webkit-scrollbar]:hidden",`text-${t}`,o&&"border-b border-gray-200",e),...i}));Xo.displayName=K.List.displayName;var Zo=yt.forwardRef(({className:e,...t},o)=>Xt(K.Trigger,{ref:o,className:a("inline-flex items-center justify-center whitespace-nowrap py-3 font-semibold ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border-b-2 border-transparent data-[state=active]:text-pink-500 data-[state=active]:border-pink-500 text-gray-900 hover:text-pink-500",e),...t}));Zo.displayName=K.Trigger.displayName;var Yo=yt.forwardRef(({className:e,...t},o)=>Xt(K.Content,{ref:o,className:a("mt-3 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 text-gray-900",e),...t}));Yo.displayName=K.Content.displayName;import{forwardRef as Zr}from"react";import{QuestionMarkCircleIcon as Yr}from"@heroicons/react/24/outline";import{XCircleIcon as Kr}from"@heroicons/react/24/solid";import{jsx as Ve,jsxs as Ko}from"react/jsx-runtime";var Jr=Zr(({disabled:e,isError:t,message:o,label:i,className:r,inputClassName:n,size:l,rows:c=3,...d},g)=>Ko("div",{className:a("relative",r,t&&"mobase-text-area-error"),children:[i&&Ve("span",{className:a("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:i}),Ve("textarea",{disabled:e,ref:g,className:a("mobase-text-area-box bg-white w-full text-sm transition-all rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 outline-none block",l===2&&"text-base",n),rows:c,...d}),o&&Ko("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?Ve(Kr,{width:16,height:16,className:"text-red-500"}):Ve(Yr,{width:16,height:16,className:"text-gray-500"}),Ve("span",{className:a("text-gray-500 ",l===2?"text-sm":"text-xs"),children:o})]}),Ve("style",{children:`
70
+ `})]}),Ie=({className:e,children:o,title:t,shortTitle:a,qrImage:r,qrLink:n,logoQr:s,isQrForAll:c=!1,...d})=>v(Le,{...d,children:v(we,{className:i("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:v(Rt,{className:"p-0",children:O("div",{className:"flex flex-row flex-wrap",children:[v("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:o||O("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[O("div",{className:"flex flex-nowrap items-center",children:[v("div",{className:"flex-none",children:v("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),O("div",{className:"flex-1 pl-4",children:[v("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),v("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"})]})]}),O("div",{className:"flex flex-nowrap items-center",children:[v("div",{className:"flex-none",children:v("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),O("div",{className:"flex-1 pl-4",children:[v("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),v("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),O("div",{className:"flex flex-nowrap items-center",children:[v("div",{className:"flex-none",children:v("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),O("div",{className:"flex-1 pl-4",children:[v("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),O("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"]})]})]})]})}),v("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:O("div",{className:"px-5 py-10 text-center",children:[t&&v("h4",{className:"mb-5 text-base font-semibold text-white",children:t}),O("div",{className:"relative",children:[c&&v("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:v("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),v(Fr,{img:r,isQrForAll:c,children:n&&v(Br,{value:n,size:215,imageSettings:{src:`${s||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});import{Fragment as Vr,jsx as Tt,jsxs as Or}from"react/jsx-runtime";var to=({action:e,newTab:o,offset:t,dialogQrProps:a,className:r,children:n,...s})=>{let[c,d]=zr(!1),f=Bo(),p=Xt()||typeof window<"u"&&window.location.search.includes("view=app"),S=!!a?.qrLink,z=()=>{let B=S?a?.qrLink:e;return typeof B=="string"?B.trim():""},G=()=>{let B=z();!B&&typeof e!="function"||(typeof e=="function"?e():window.open(/^http|^momo:/.test(B)?B:`${process.env.NEXT_PUBLIC_REACT_APP_BASE_PATH}${B}`,o?"_blank":"_self"))},I=(B,R=0)=>{let Ae=document.querySelector(B);if(!Ae)return;let Me=Ae.getBoundingClientRect().top+window.scrollY-R;window.scrollTo({top:Me,behavior:"smooth"})},C=()=>{typeof e=="string"&&e.startsWith("#")?I(e,t):G()},$=()=>Or(Vr,{children:[Tt(J,{...s,className:r,onClick:()=>d(!0),"data-name":"button-action-with-qr",children:n}),Tt(Ie,{...a,open:c,onOpenChange:()=>d(!1),qrLink:a?.qrLink||""})]});return S?f||p?a?.isQrForAll?$():Tt(J,{...s,className:r,onClick:G,"data-name":"button-action-with-qr",children:n}):$():Tt(J,{...s,onClick:C,className:i("cursor-pointer",r),"data-name":"button-action-without-qr",rel:"noreferrer",children:n})};import*as je from"react";import{ChevronRightIcon as Wr,DotsHorizontalIcon as Gr}from"@radix-ui/react-icons";import{Slot as $r}from"@radix-ui/react-slot";import{jsx as ve,jsxs as jr}from"react/jsx-runtime";var jo=je.forwardRef(({className:e,...o},t)=>ve("nav",{ref:t,"aria-label":"breadcrumb",className:i("",e),...o}));jo.displayName="Breadcrumb";var qo=je.forwardRef(({className:e,...o},t)=>ve("ol",{ref:t,className:i("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...o}));qo.displayName="BreadcrumbList";var Uo=je.forwardRef(({className:e,...o},t)=>ve("li",{ref:t,className:i("shrink-0 text-gray-900 hover:text-pink-500",e),...o}));Uo.displayName="BreadcrumbItem";var Qo=je.forwardRef(({asChild:e,className:o,...t},a)=>ve(e?$r:"a",{ref:a,className:i("transition-colors hover:text-foreground",o),...t}));Qo.displayName="BreadcrumbLink";var Xo=je.forwardRef(({className:e,...o},t)=>ve("span",{ref:t,role:"link","aria-disabled":"true","aria-current":"page",className:i("text-sm text-gray-500",e),...o}));Xo.displayName="BreadcrumbPage";var Zo=({children:e,className:o,...t})=>ve("li",{role:"presentation","aria-hidden":"true",className:i("text-gray-900",o),...t,children:e??ve(Wr,{className:"w-2 h-2"})});Zo.displayName="BreadcrumbSeparator";var Ko=({className:e,...o})=>jr("span",{role:"presentation","aria-hidden":"true",className:i("flex h-5 w-5 items-center justify-center",e),...o,children:[ve(Gr,{className:"w-4 h-4 text-gray-900"}),ve("span",{className:"sr-only",children:"More"})]});Ko.displayName="BreadcrumbElipssis";import*as St from"react";import{enUS as Ur,vi as Qr}from"date-fns/locale";import{DayPicker as Xr}from"react-day-picker";import{ChevronLeft as Zr,ChevronRight as Kr}from"lucide-react";import Yr from"lunisolar";import*as Yo from"react";import*as rt from"@radix-ui/react-checkbox";import{CheckIcon as qr}from"@heroicons/react/16/solid";import{jsx as oo}from"react/jsx-runtime";var kt=Yo.forwardRef(({className:e,...o},t)=>oo(rt.Root,{ref:t,className:i("peer h-4 w-4 shrink-0 rounded border-2 disabled:bg-gray-300 border-gray-300 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:bg-gray-100 data-[state=checked]:border-none disabled:data-[state=checked]:bg-gray-400 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:bg-pink-500 data-[state=checked]:text-white",e),...o,children:oo(rt.Indicator,{className:i("flex items-center justify-center text-current"),children:oo(qr,{className:"h-4 w-4"})})}));kt.displayName=rt.Root.displayName;import{Fragment as an,jsx as se,jsxs as ao}from"react/jsx-runtime";var Jr=({date:e,cusContent:o})=>{let t=null;return t=Yr(e).lunar,ao(an,{children:[o?o(e):e.getDate(),t&&se("span",{className:"text-[8px] absolute top-1 right-0.5 leading-none text-gray-700 group-aria-selected:text-white group-aria-selected/mid:!text-gray-700 luna-date hidden group-[.show-luna]:block ",children:t.day})]})},en={formatCaption:e=>`Th\xE1ng ${e.getMonth()+1}/${e.getFullYear()}`,formatWeekdayName:e=>{let o=e.getDay();return["CN","T2","T3","T4","T5","T6","T7"][o]}};function tn({isShow:e,setIsShow:o,lang:t}){let a=St.useId();return se("div",{className:"w-full p-3 pt-0",children:ao("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[se(kt,{checked:e,id:`check-show-luna-${a}`,onCheckedChange:r=>{typeof r=="boolean"&&o(r)}}),se("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:t==="vi"?"Hi\u1EC7n ng\xE0y \xE2m l\u1ECBch":"Show lunar date"})]})})}var on=e=>e.getDay()===0||e.getDay()===6;function Dt({className:e,classNames:o,showOutsideDays:t=!1,enableLunaDate:a=!1,lang:r="vi",cusContentDay:n,...s}){let[c,d]=St.useState(!0);return se(Xr,{locale:r==="vi"?Qr:Ur,showOutsideDays:t,className:i("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:i(ne({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:i("font-medium rounded-md w-11 text-xs text-gray-500 [&:nth-child(7)]:text-red-600",r==="vi"?"[&:nth-child(6)]:text-red-600":"[&:nth-child(1)]:text-red-600"),row:"flex w-full mt-0.5 space-x-0.5",cell:"h-11 w-11 text-center text-sm p-0 relative",day:i(ne({variant:"transparent"}),"h-11 w-11 text-center text-sm p-0 aria-selected:opacity-100 aria-selected:bg-pink-500 aria-selected:text-white [&.day-range-end.day-range-start]:rounded-md focus-within:relative focus-within:z-20 font-semibold relative group",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:"!text-gray-900 !bg-pink-50 !rounded-none group/mid",day_hidden:"invisible",...o},modifiers:{weekend:on},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>se(Zr,{className:"h-6 w-6"}),IconRight:()=>se(Kr,{className:"h-6 w-6"}),DayContent:f=>se(Jr,{date:f.date,cusContent:n}),Months:({children:f})=>ao("div",{className:"w-full",children:[se("div",{className:i("flex flex-col sm:flex-row months-wrapper"),children:f}),a&&se(tn,{isShow:c,setIsShow:d,lang:r})]})},formatters:r==="vi"?en:{},...s})}Dt.displayName="Calendar";import*as ea from"react";import*as be from"@radix-ui/react-popover";import{jsx as Jo}from"react/jsx-runtime";var nt=be.Root,st=be.Trigger,qe=ea.forwardRef(({className:e,align:o="center",sideOffset:t=4,...a},r)=>Jo(be.Portal,{children:Jo(be.Content,{ref:r,align:o,sideOffset:t,className:i("z-50 w-72 rounded-md border border-gray-200 bg-white p-4 sm:p-5 text-gray-900 shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));qe.displayName=be.Content.displayName;import{format as At}from"date-fns";import{Calendar as rn}from"lucide-react";import{QuestionMarkCircleIcon as nn,XCircleIcon as sn}from"@heroicons/react/16/solid";import{Fragment as ta,jsx as le,jsxs as lt}from"react/jsx-runtime";var ln=({label:e,placeholder:o="Select a value",size:t=1,message:a,isError:r,disabled:n,dateFormat:s="dd/MM/yyyy",buttonProps:c,popoverProps:d,calendarProps:f})=>{let p=f?.selected||null;return lt("div",{children:[lt(nt,{...d,children:[le(st,{asChild:!0,children:lt(J,{variant:"secondary",className:i("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",t===2&&"h-12 text-base",(!p||!(p instanceof Date)&&typeof p=="object"&&(!("from"in p)||!p.from))&&"text-gray-500",r&&"border-red-500 ring-red-500 ring-1"),disabled:n,...c,children:[le("span",{className:"line-clamp-1 flex-1",children:p instanceof Date?At(p,s):p&&typeof p=="object"&&"from"in p&&"to"in p?le(ta,{children:p.from?p.to?lt(ta,{children:[At(p.from,s)," -"," ",At(p.to,s)]}):At(p.from,s):o}):o}),e&&le("span",{className:i("absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",t===2&&" -top-2.5 text-sm",r&&"text-red-500"),children:e}),le(rn,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),le(qe,{className:"w-auto !p-0 border-none",children:le(Dt,{...f})})]}),a&&lt("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[r?le(sn,{width:16,height:16,className:"text-red-500"}):le(nn,{width:16,height:16,className:"text-gray-500"}),le("span",{className:i(r?"text-red-500":"text-gray-500",t===2?"text-sm":"text-xs"),children:a})]})]})};import*as Ee from"react";import*as w from"@radix-ui/react-alert-dialog";import{jsx as he,jsxs as dn}from"react/jsx-runtime";var mn=w.Root,cn=w.Trigger,oa=w.Portal,io=Ee.forwardRef(({className:e,...o},t)=>he(w.Overlay,{className:i("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),...o,ref:t}));io.displayName=w.Overlay.displayName;var aa=Ee.forwardRef(({className:e,...o},t)=>dn(oa,{children:[he(io,{}),he(w.Content,{ref:t,className:i("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),...o})]}));aa.displayName=w.Content.displayName;var ia=({className:e,...o})=>he("div",{className:i("flex flex-col space-y-2 text-left",e),...o});ia.displayName="AlertDialogHeader";var ra=({className:e,...o})=>he("div",{className:i("flex flex-row justify-end space-x-4",e),...o});ra.displayName="AlertDialogFooter";var na=Ee.forwardRef(({className:e,...o},t)=>he(w.Title,{ref:t,className:i("text-lg text-gray-900 font-semibold",e),...o}));na.displayName=w.Title.displayName;var sa=Ee.forwardRef(({className:e,...o},t)=>he(w.Description,{ref:t,className:i("text-sm text-muted-foreground",e),...o}));sa.displayName=w.Description.displayName;var la=Ee.forwardRef(({className:e,...o},t)=>he(w.Action,{ref:t,className:i(ne({variant:"primary"}),"",e),...o}));la.displayName=w.Action.displayName;var ma=Ee.forwardRef(({className:e,...o},t)=>he(w.Cancel,{ref:t,className:i(ne({variant:"secondary"}),e),...o}));ma.displayName=w.Cancel.displayName;import*as ca from"react";import{Slot as pn}from"@radix-ui/react-slot";import{cva as gn}from"class-variance-authority";import{jsx as fn}from"react/jsx-runtime";var _e=gn("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"}}),Ne=ca.forwardRef(({className:e,variant:o="primary",size:t="default",asChild:a=!1,isDisabled:r=!1,...n},s)=>{let c=a?pn:"button",d=i(_e({variant:o,size:t,className:e}));return fn(c,{className:d,disabled:r,ref:s,...n,children:n.children})});Ne.displayName="IconButton";import{createContext as un,useContext as da}from"react";import{jsx as mt}from"react/jsx-runtime";var ro=un({align:"center"}),no=({color:e="pink",size:o="small",isTruncated:t=!1,className:a,children:r})=>{let n={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},s={small:"text-sm",large:"text-lg"};return mt("div",{className:i("mb-1 font-semibold",n[e],s[o],t&&"truncate",a),children:r})},so=({tagHeading:e="h2",size:o="small",color:t="pink",isTruncated:a=!1,className:r,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:f}=da(ro);return mt(s,{className:i("font-bold max-w-4xl",f==="center"?"mx-auto":f==="right"?"ml-auto":"",c[t],d[o],a&&"truncate",r),children:n})},lo=({color:e="regular",size:o="small",marginTop:t="spacingX",isTruncated:a=!1,className:r,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:f}=da(ro);return mt("div",{className:i(f==="center"?"mx-auto max-w-3xl":f==="right"?"max-w-4xl ml-auto":"max-w-4xl",s[e],c[o],d[t],a&&"truncate",r),children:n})},mo=({className:e,align:o="center",children:t})=>mt("div",{className:i("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[o],e),children:mt(ro.Provider,{value:{align:o},children:t})});import{ChevronLeft as vn,ChevronRight as bn}from"lucide-react";import{Fragment as hn,jsx as ee,jsxs as pa}from"react/jsx-runtime";function ga({current:e,total:o,onChange:t}){let a=r=>ee("li",{children:ee("button",{className:i(_e({variant:e===r?"outline":"secondary",size:"sm"})),onClick:()=>t(r),children:r})},r);return ee("nav",{role:"navigation","aria-label":"pagination",className:i("mx-auto flex w-full justify-center"),children:pa("ul",{className:i("flex flex-row flex-wrap items-center gap-2"),children:[o>1&&ee("li",{children:ee("button",{className:i(_e({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&t(e-1),children:ee(vn,{className:"h-4 w-4"})})}),o<=6?Array(o).fill(0).map((r,n)=>a(n+1)):pa(hn,{children:[a(1),e===1&&[a(2),a(3)],e>3&&ee("li",{children:ee("button",{className:i(_e({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>t(e-3),children:"..."})}),e>2&&e!==1&&e!==o&&a(e-1),e>1&&e<o&&a(e),e<o-1&&e!==1&&a(e+1),e===o&&[a(o-2),a(o-1)],e<o-2&&e!==o&&ee("button",{className:i(_e({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>t(e+3),children:"..."}),a(o)]}),o>1&&ee("li",{children:ee("button",{className:i(_e({variant:"secondary",size:"sm"})),disabled:e===o,onClick:()=>e<o&&t(e+1),children:ee(bn,{className:"h-4 w-4"})})})]})})}import*as Mt from"react";import*as ae from"@radix-ui/react-tabs";import{jsx as co}from"react/jsx-runtime";var xn=ae.Root,fa=Mt.forwardRef(({className:e,size:o="sm",isDivider:t=!1,...a},r)=>co(ae.List,{ref:r,className:i("inline-flex w-full flex-row items-center bg-muted text-muted-foreground space-x-5 overflow-x-auto [&::-webkit-scrollbar]:hidden",`text-${o}`,t&&"border-b border-gray-200",e),...a}));fa.displayName=ae.List.displayName;var ua=Mt.forwardRef(({className:e,...o},t)=>co(ae.Trigger,{ref:t,className:i("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),...o}));ua.displayName=ae.Trigger.displayName;var va=Mt.forwardRef(({className:e,...o},t)=>co(ae.Content,{ref:t,className:i("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),...o}));va.displayName=ae.Content.displayName;import{forwardRef as yn}from"react";import{QuestionMarkCircleIcon as wn}from"@heroicons/react/24/outline";import{XCircleIcon as Nn}from"@heroicons/react/24/solid";import{jsx as Ue,jsxs as ba}from"react/jsx-runtime";var Pn=yn(({disabled:e,isError:o,message:t,label:a,className:r,inputClassName:n,size:s,rows:c=3,...d},f)=>ba("div",{className:i("relative",r,o&&"mobase-text-area-error"),children:[a&&Ue("span",{className:i("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}),Ue("textarea",{disabled:e,ref:f,className:i("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}),t&&ba("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[o?Ue(Nn,{width:16,height:16,className:"text-red-500"}):Ue(wn,{width:16,height:16,className:"text-gray-500"}),Ue("span",{className:i("text-gray-500 ",s===2?"text-sm":"text-xs"),children:t})]}),Ue("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 @@ import*as $e from"react";import*as j from"@radix-ui/react-accordion";import{Chev
94
94
  color: rgb(var(--mobase-red-500) / 1);
95
95
  }
96
96
  }
97
- `})]}));import*as Nt from"react";var en=1,tn=1e6;var Zt=0;function on(){return Zt=(Zt+1)%Number.MAX_SAFE_INTEGER,Zt.toString()}var Yt=new Map,Jo=e=>{if(Yt.has(e))return;let t=setTimeout(()=>{Yt.delete(e),Ke({type:"REMOVE_TOAST",toastId:e})},tn);Yt.set(e,t)},an=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,en)};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?Jo(o):e.toasts.forEach(i=>{Jo(i.id)}),{...e,toasts:e.toasts.map(i=>i.id===o||o===void 0?{...i,open:!1}:i)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};default:return e}},wt=[],Pt={toasts:[]};function Ke(e){Pt=an(Pt,e),wt.forEach(t=>{t(Pt)})}function ea({...e}){let t=on(),o=r=>Ke({type:"UPDATE_TOAST",toast:{...r,id:t}}),i=()=>Ke({type:"DISMISS_TOAST",toastId:t});return Ke({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||i()}}}),{id:t,dismiss:i,update:o}}function Kt(){let[e,t]=Nt.useState(Pt);return Nt.useEffect(()=>(wt.push(t),()=>{let o=wt.indexOf(t);o>-1&&wt.splice(o,1)}),[e]),{...e,toast:ea,dismiss:o=>Ke({type:"DISMISS_TOAST",toastId:o})}}import*as De from"react";import*as S from"@radix-ui/react-toast";import{cva as rn}from"class-variance-authority";import{XMarkIcon as nn,CheckCircleIcon as sn,ExclamationTriangleIcon as ln,InformationCircleIcon as mn}from"@heroicons/react/20/solid";import{jsx as fe,jsxs as ta}from"react/jsx-runtime";var oa=S.Provider,Jt=De.forwardRef(({className:e,...t},o)=>fe(S.Viewport,{ref:o,className:a("fixed bottom-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 left-0 sm:right-0 sm:left-auto sm:top-0 sm:bottom-auto sm:flex-col md:max-w-[420px]",e),...t}));Jt.displayName=S.Viewport.displayName;var cn=rn("group pointer-events-auto relative w-full overflow-hidden rounded-md border py-4 pr-10 pl-10 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-bottom-full data-[state=open]:sm:slide-in-from-top-full bg-white text-gray-900 border border-gray-200 border-l-4",{variants:{variant:{sucess:"border-l-green-500",warning:"border-l-yellow-500",error:"border-l-red-500"}},defaultVariants:{variant:"sucess"}}),eo=De.forwardRef(({className:e,variant:t="sucess",children:o,...i},r)=>ta(S.Root,{ref:r,className:a(cn({variant:t}),e),...i,children:[ta("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[t==="sucess"&&fe(sn,{className:"w-5 h-5 text-green-500"}),t==="warning"&&fe(ln,{className:"w-5 h-5 text-yellow-500"}),t==="error"&&fe(mn,{className:"w-5 h-5 text-red-500"})]}),o]}));eo.displayName=S.Root.displayName;var aa=De.forwardRef(({className:e,...t},o)=>fe(S.Action,{ref:o,className:a("inline-flex shrink-0 items-center justify-center bg-transparent text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-0 focus:ring-ring focus:ring-offset-0 disabled:pointer-events-none disabled:opacity-50 text-blue-600 hover:underline mt-2",e),...t}));aa.displayName=S.Action.displayName;var to=De.forwardRef(({className:e,...t},o)=>fe(S.Close,{ref:o,className:a("absolute right-2 top-2 rounded-md transition-opacity hover:opacity-70 focus:opacity-100 focus:outline-none focus:ring-2 text-gray-800 w-8 h-8 flex items-center justify-center",e),"toast-close":"",...t,children:fe(nn,{className:"h-5 w-5"})}));to.displayName=S.Close.displayName;var oo=De.forwardRef(({className:e,...t},o)=>fe(S.Title,{ref:o,className:a("text-base font-semibold leading-tight",e),...t}));oo.displayName=S.Title.displayName;var ao=De.forwardRef(({className:e,...t},o)=>fe(S.Description,{ref:o,className:a("text-sm opacity-90",e),...t}));ao.displayName=S.Description.displayName;import{jsx as Ct,jsxs as io}from"react/jsx-runtime";function dn(){let{toasts:e}=Kt();return io(oa,{children:[e.map(function({id:t,title:o,description:i,action:r,...n}){return io(eo,{...n,children:[io("div",{className:"grid gap-2",children:[o&&Ct(oo,{children:o}),i&&Ct(ao,{children:i})]}),r,Ct(to,{})]},t)}),Ct(Jt,{})]})}import*as ia from"react";import{Slot as pn}from"@radix-ui/react-slot";import{cva as fn}from"class-variance-authority";import{jsx as gn}from"react/jsx-runtime";var ra=fn("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"}}),Rt=ia.forwardRef(({className:e,variant:t="default",size:o="default",asChild:i=!1,isDisabled:r=!1,...n},l)=>{let c=i?pn:"button",d=a(ra({variant:t,size:o,className:e}));return gn(c,{className:d,disabled:r,ref:l,...n,children:n.children})});Rt.displayName="TextButton";import*as ro from"react";import*as X from"@radix-ui/react-tooltip";import{jsx as la}from"react/jsx-runtime";var un=X.Provider,hn=X.Root,vn=X.Trigger,na=ro.forwardRef((e,t)=>la(X.Arrow,{ref:t,className:a("drop-shadow-md",e.className),...e}));na.displayName=X.Arrow.displayName;var sa=ro.forwardRef(({className:e,type:t="dark",sideOffset:o=4,...i},r)=>la(X.Content,{ref:r,sideOffset:o,className:a("z-50 overflow-hidden rounded-md text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 p-1.5 shadow-md",t==="light"?"bg-white text-gray-900 fill-white":"bg-gray-800 fill-gray-800 text-white",e),...i}));sa.displayName=X.Content.displayName;import{forwardRef as bn,useEffect as xn,useRef as yn,useState as wn}from"react";import{QuestionMarkCircleIcon as Pn,XCircleIcon as Nn,XCircleIcon as Cn}from"@heroicons/react/16/solid";import{jsx as he,jsxs as no}from"react/jsx-runtime";var Rn=bn(({disabled:e,isError:t,message:o,label:i,className:r,inputClassName:n,withClearButton:l,size:c,onChange:d,onFocus:g,onClickClear:p,value:k,defaultValue:H,type:F="text",...M},C)=>{let[O,G]=wn(!1),L=yn(null),R=I=>{I&&!O&&G(!0),!I&&O&&G(!1)},Ne=I=>{l&&R(I.target.value),d?.(I)},Le=I=>{l&&R(I.target.value),g?.(I)},Ce=()=>{let I=L.current?.querySelector("input");I&&(p?.(I.value),I.value="",I.focus(),G(!1))};return xn(()=>{R(H||k)},[k,H]),no("div",{className:a(r,t&&"mobase-text-input-error"),ref:L,children:[no("div",{className:"relative",children:[i&&he("span",{className:a("mobase-text-input-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",c===2&&" -top-2.5 text-sm"),children:i}),he("input",{disabled:e,type:F,ref:C,className:a("mobase-text-input-box bg-white w-full transition-all text-sm rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 h-11 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none block outline-none",c===2&&"h-12 text-base",n),onChange:Ne,onFocus:Le,value:k,defaultValue:H,...M}),l&&O&&he("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:Ce,children:he(Nn,{strokeWidth:2,width:20,height:20})})]}),o&&no("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[t?he(Cn,{width:16,height:16,className:"text-red-500"}):he(Pn,{width:16,height:16,className:"text-gray-500"}),he("span",{className:a("text-gray-500 ",c===2?"text-sm":"text-xs"),children:o})]}),he("style",{children:`
97
+ `})]}));import*as Et from"react";var Cn=1,Rn=1e6;var po=0;function Tn(){return po=(po+1)%Number.MAX_SAFE_INTEGER,po.toString()}var go=new Map,ha=e=>{if(go.has(e))return;let o=setTimeout(()=>{go.delete(e),ct({type:"REMOVE_TOAST",toastId:e})},Rn);go.set(e,o)},kn=(e,o)=>{switch(o.type){case"ADD_TOAST":return{...e,toasts:[o.toast,...e.toasts].slice(0,Cn)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(t=>t.id===o.toast.id?{...t,...o.toast}:t)};case"DISMISS_TOAST":{let{toastId:t}=o;return t?ha(t):e.toasts.forEach(a=>{ha(a.id)}),{...e,toasts:e.toasts.map(a=>a.id===t||t===void 0?{...a,open:!1}:a)}}case"REMOVE_TOAST":return o.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(t=>t.id!==o.toastId)};default:return e}},Lt=[],It={toasts:[]};function ct(e){It=kn(It,e),Lt.forEach(o=>{o(It)})}function xa({...e}){let o=Tn(),t=r=>ct({type:"UPDATE_TOAST",toast:{...r,id:o}}),a=()=>ct({type:"DISMISS_TOAST",toastId:o});return ct({type:"ADD_TOAST",toast:{...e,id:o,open:!0,onOpenChange:r=>{r||a()}}}),{id:o,dismiss:a,update:t}}function fo(){let[e,o]=Et.useState(It);return Et.useEffect(()=>(Lt.push(o),()=>{let t=Lt.indexOf(o);t>-1&&Lt.splice(t,1)}),[e]),{...e,toast:xa,dismiss:t=>ct({type:"DISMISS_TOAST",toastId:t})}}import*as He from"react";import*as A from"@radix-ui/react-toast";import{cva as Sn}from"class-variance-authority";import{XMarkIcon as Dn,CheckCircleIcon as An,ExclamationTriangleIcon as Mn,InformationCircleIcon as Ln}from"@heroicons/react/20/solid";import{jsx as xe,jsxs as ya}from"react/jsx-runtime";var wa=A.Provider,uo=He.forwardRef(({className:e,...o},t)=>xe(A.Viewport,{ref:t,className:i("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),...o}));uo.displayName=A.Viewport.displayName;var In=Sn("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"}}),vo=He.forwardRef(({className:e,variant:o="sucess",children:t,...a},r)=>ya(A.Root,{ref:r,className:i(In({variant:o}),e),...a,children:[ya("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[o==="sucess"&&xe(An,{className:"w-5 h-5 text-green-500"}),o==="warning"&&xe(Mn,{className:"w-5 h-5 text-yellow-500"}),o==="error"&&xe(Ln,{className:"w-5 h-5 text-red-500"})]}),t]}));vo.displayName=A.Root.displayName;var Na=He.forwardRef(({className:e,...o},t)=>xe(A.Action,{ref:t,className:i("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),...o}));Na.displayName=A.Action.displayName;var bo=He.forwardRef(({className:e,...o},t)=>xe(A.Close,{ref:t,className:i("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":"",...o,children:xe(Dn,{className:"h-5 w-5"})}));bo.displayName=A.Close.displayName;var ho=He.forwardRef(({className:e,...o},t)=>xe(A.Title,{ref:t,className:i("text-base font-semibold leading-tight",e),...o}));ho.displayName=A.Title.displayName;var xo=He.forwardRef(({className:e,...o},t)=>xe(A.Description,{ref:t,className:i("text-sm opacity-90",e),...o}));xo.displayName=A.Description.displayName;import{jsx as _t,jsxs as yo}from"react/jsx-runtime";function En(){let{toasts:e}=fo();return yo(wa,{children:[e.map(function({id:o,title:t,description:a,action:r,...n}){return yo(vo,{...n,children:[yo("div",{className:"grid gap-2",children:[t&&_t(ho,{children:t}),a&&_t(xo,{children:a})]}),r,_t(bo,{})]},o)}),_t(uo,{})]})}import*as Pa from"react";import{Slot as _n}from"@radix-ui/react-slot";import{cva as Hn}from"class-variance-authority";import{jsx as Bn}from"react/jsx-runtime";var Ca=Hn("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=Pa.forwardRef(({className:e,variant:o="default",size:t="default",asChild:a=!1,isDisabled:r=!1,...n},s)=>{let c=a?_n:"button",d=i(Ca({variant:o,size:t,className:e}));return Bn(c,{className:d,disabled:r,ref:s,...n,children:n.children})});Qe.displayName="TextButton";import*as wo from"react";import*as te from"@radix-ui/react-tooltip";import{jsx as ka}from"react/jsx-runtime";var Fn=te.Provider,zn=te.Root,Vn=te.Trigger,Ra=wo.forwardRef((e,o)=>ka(te.Arrow,{ref:o,className:i("drop-shadow-md",e.className),...e}));Ra.displayName=te.Arrow.displayName;var Ta=wo.forwardRef(({className:e,type:o="dark",sideOffset:t=4,...a},r)=>ka(te.Content,{ref:r,sideOffset:t,className:i("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",o==="light"?"bg-white text-gray-900 fill-white":"bg-gray-800 fill-gray-800 text-white",e),...a}));Ta.displayName=te.Content.displayName;import{forwardRef as On,useEffect as Wn,useRef as Gn,useState as $n}from"react";import{QuestionMarkCircleIcon as jn,XCircleIcon as qn,XCircleIcon as Un}from"@heroicons/react/16/solid";import{jsx as Pe,jsxs as No}from"react/jsx-runtime";var Qn=On(({disabled:e,isError:o,message:t,label:a,className:r,inputClassName:n,withClearButton:s,size:c,onChange:d,onFocus:f,onClickClear:p,value:S,defaultValue:z,type:G="text",...I},C)=>{let[$,Q]=$n(!1),B=Gn(null),R=E=>{E&&!$&&Q(!0),!E&&$&&Q(!1)},Ae=E=>{s&&R(E.target.value),d?.(E)},Ge=E=>{s&&R(E.target.value),f?.(E)},Me=()=>{let E=B.current?.querySelector("input");E&&(p?.(E.value),E.value="",E.focus(),Q(!1))};return Wn(()=>{R(z||S)},[S,z]),No("div",{className:i(r,o&&"mobase-text-input-error"),ref:B,children:[No("div",{className:"relative",children:[a&&Pe("span",{className:i("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}),Pe("input",{disabled:e,type:G,ref:C,className:i("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:Ae,onFocus:Ge,value:S,defaultValue:z,...I}),s&&$&&Pe("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:Me,children:Pe(qn,{strokeWidth:2,width:20,height:20})})]}),t&&No("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[o?Pe(Un,{width:16,height:16,className:"text-red-500"}):Pe(jn,{width:16,height:16,className:"text-gray-500"}),Pe("span",{className:i("text-gray-500 ",c===2?"text-sm":"text-xs"),children:t})]}),Pe("style",{children:`
98
98
  .mobase-text-input-box:hover {
99
99
  box-shadow: 0px 0px 0px 1px rgb(var(--mobase-gray-400) / 1) inset;
100
100
  }
@@ -117,30 +117,30 @@ import*as $e from"react";import*as j from"@radix-ui/react-accordion";import{Chev
117
117
  color: rgb(var(--mobase-red-500) / 1);
118
118
  }
119
119
  }
120
- `})]})});import{MinusCircleIcon as Tn,PlusCircleIcon as kn}from"@heroicons/react/24/outline";import{useRef as ma,forwardRef as Dn,useState as so,useEffect as ca}from"react";import{jsx as ze,jsxs as da}from"react/jsx-runtime";var Sn=Dn(({value:e=0,min:t=0,max:o=999,disabled:i=!1,disabledInput:r=!1,step:n=1,inputClassName:l="",stepperClassName:c="",className:d="",onChange:g=()=>{},onChangeInputStepper:p,onDecrement:k,onIncrement:H,...F},M)=>{let C=ma(null),[O,G]=so(!1),[L,R]=so(!1),[Ne,Le]=so(""),Ce=ma(null),I=v=>{Number(v)>=o?G(!0):G(!1),Number(v)>t?R(!1):R(!0)},Fi=()=>{if(i||O)return;let v=C?.current?.querySelector("input");if(!v)return;let $=0;$=Math.min(Number(v.value)+n,o),I($),v.value=String($),Le(v.value||""),p?.(v.value),H?.(v.value)},Oi=()=>{if(i||L)return;let v=C?.current?.querySelector("input");if(!v)return;let $=0;$=Math.max(Number(v.value)-n,0),I($),v.value=String($),Le(v.value||""),p?.(v.value),k?.(v.value)},Wi=v=>{if(!v)return;let $=v?.target?.value;$?.match(/^[0-9]*$/)||($=$.replace(/[^0-9]/g,"")),I($);let mt=parseInt($,10);Number.isNaN(mt)||mt<t?v.target.value=String(t):mt>=o?v.target.value=String(o):v.target.value=String(mt),Le(v?.target?.value||""),p?.(v.target.value),g?.(v)};return ca(()=>{let v=C?.current?.querySelector("input");v&&I(v?.value)},[]),ca(()=>{let v=C?.current?.querySelector("input");v&&Ce?.current&&(v.style.width=`${Ce.current.offsetWidth+10}px`)},[Ne]),da("div",{ref:C,className:"flex items-center space-x-1",children:[ze(ue,{id:"btn-minus",className:a(!L&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:Oi,children:ze(Tn,{className:"w-8 h-8 "})}),da("div",{children:[ze("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:M,min:t,max:o,onChange:v=>Wi(v),id:"numberInput",disabled:i||r,autoComplete:"off",...F,className:a("text-gray-800 min-w-7 border-gray-300 border transition-width duration-100 focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 w-7 h-7 rounded-md text-center bg-white",l)}),ze("span",{ref:Ce,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:Ne||" "})]}),ze(ue,{id:"btn-plus",className:a(!O&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:Fi,children:ze(kn,{className:"w-8 h-8 "})})]})});import*as ie from"react";import{ChevronDownIcon as pa,ChevronUpIcon as An,CheckIcon as Mn,XCircleIcon as In}from"@heroicons/react/16/solid";import{QuestionMarkCircleIcon as Ln}from"@heroicons/react/24/outline";import*as f from"@radix-ui/react-select";import{jsx as w,jsxs as Je}from"react/jsx-runtime";var En=ie.forwardRef(({className:e,children:t,label:o,message:i,size:r,isError:n,disabled:l,...c},d)=>Je("div",{ref:d,className:a("select-mobase relative",e,l?"disabled":"",n?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",r===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[o&&w("span",{className:a("mobase-select-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",r===2&&"text-sm -top-2.5",n&&"text-red-500"),children:o}),w(f.Root,{disabled:l,...c,children:t}),i&&Je("div",{className:a("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?w(In,{width:16,height:16}):w(Ln,{width:16,height:16}),w("span",{className:a(r===2?"text-sm":"text-xs"),children:i})]})]})),_n=f.Value,fa=ie.forwardRef(({className:e,children:t,...o},i)=>Je(f.Trigger,{ref:i,className:a("select-mobase-button bg-white w-full ring-0 transition-all focus-visible:border-pink-500 focus-visible:ring-offset-0 focus-visible:ring-offset-transparent focus-visible:ring-1 focus-visible:!ring-pink-500 rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),...o,children:[w("div",{className:"line-clamp-1 text-left",children:t}),w(f.Icon,{asChild:!0,children:w(pa,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));fa.displayName=f.Trigger.displayName;var lo=ie.forwardRef(({className:e,...t},o)=>w(f.ScrollUpButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1",e),...t,children:w(An,{className:"h-5 w-5"})}));lo.displayName=f.ScrollUpButton.displayName;var mo=ie.forwardRef(({className:e,...t},o)=>w(f.ScrollDownButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:w(pa,{className:"h-5 w-5"})}));mo.displayName=f.ScrollDownButton.displayName;var ga=ie.forwardRef(({className:e,children:t,position:o="popper",...i},r)=>w(f.Portal,{children:Je(f.Content,{ref:r,className:a("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white text-gray-900 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...i,children:[w(lo,{}),w(f.Viewport,{className:a("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),w(mo,{})]})}));ga.displayName=f.Content.displayName;var Hn=ie.forwardRef(({className:e,children:t,...o},i)=>w(f.Group,{ref:i,className:a("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),ua=ie.forwardRef(({className:e,...t},o)=>w(f.Label,{ref:o,className:a("pr-2 pl-8 py-1.5 text-sm font-semibold z-[1]",e),...t}));ua.displayName=f.Label.displayName;var Bn=ie.forwardRef(({className:e,children:t,...o},i)=>Je(f.Item,{ref:i,className:a("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[w("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:w(f.ItemIndicator,{children:w(Mn,{className:"h-4 w-4"})})}),w(f.ItemText,{children:t})]})),ha=ie.forwardRef(({className:e,...t},o)=>w(f.Separator,{ref:o,className:a("-mx-1 my-1 h-px bg-muted",e),...t}));ha.displayName=f.Separator.displayName;import*as J from"react";import*as T from"@radix-ui/react-navigation-menu";import{cva as Vn}from"class-variance-authority";import{ChevronDownIcon as zn}from"@heroicons/react/16/solid";import{jsx as re,jsxs as $n}from"react/jsx-runtime";var va=J.createContext(null),Fn=({value:e,children:t})=>re(va.Provider,{value:e,children:t}),On=()=>{let e=J.useContext(va);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},Tt=J.forwardRef(({className:e,children:t,alignDropdown:o="left",...i},r)=>re(Fn,{value:{alignDropdown:o},children:re(T.Root,{ref:r,className:a("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...i,children:t})}));Tt.displayName=T.Root.displayName;var kt=J.forwardRef(({className:e,...t},o)=>re(T.List,{ref:o,className:a("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));kt.displayName=T.List.displayName;var Dt=T.Item,St=Vn(te({variant:"transparent",size:"sm"})),At=J.forwardRef(({className:e,children:t,...o},i)=>$n(T.Trigger,{ref:i,className:a(St(),"group px-2",e),...o,children:[t," ",re(zn,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));At.displayName=T.Trigger.displayName;var Mt=J.forwardRef(({className:e,...t},o)=>{let{alignDropdown:i}=On();return re(T.Content,{ref:o,className:a("absolute top-full mt-3 rounded-lg bg-white text-gray-900 ring-1 ring-gray-900/5 shadow-[0_10px_32px_rgba(34,42,53,0.15),0_1px_1px_rgba(0,0,0,0.05),0_4px_6px_rgba(34,42,53,0.08),0_1px_1px_rgba(34,42,53,0.1),0_24px_68px_rgba(47,48,55,0.1)]",e,"before:content-[''] before:absolute before:-top-3 before:left-0 before:right-0 before:w-full before:bg-transparent before:opacity-0 before:h-3",i!=="center"&&"data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out ",i==="left"&&"left-0",i==="right"&&"right-0",i==="center"&&" left-1/2 -translate-x-1/2 "),...t})});Mt.displayName=T.Content.displayName;var et=T.Link,Wn=J.forwardRef(({className:e,...t},o)=>re("div",{className:a("absolute left-0 top-full flex justify-center"),children:re(T.Viewport,{className:a("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:o,...t})}));Wn.displayName=T.Viewport.displayName;var Gn=J.forwardRef(({className:e,...t},o)=>re(T.Indicator,{ref:o,className:a("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t,children:re("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));Gn.displayName=T.Indicator.displayName;import*as xa from"react";import*as tt from"@radix-ui/react-switch";import{jsx as ba}from"react/jsx-runtime";var ya=xa.forwardRef(({className:e,...t},o)=>ba(tt.Root,{className:a("peer inline-flex h-5 w-10 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-default disabled:opacity-20 data-[state=checked]:bg-pink-500 data-[state=unchecked]:bg-gray-400",e),...t,ref:o,children:ba(tt.Thumb,{className:a("pointer-events-none relative cik before:content-[''] before:absolute before:w-1.5 before:h-1.5 before:rounded-full before:bg-pink-600 before:-translate-x-1/2 before:translate-y-1 disabled:opacity-20 before:data-[state=unchecked]:bg-gray-400 block h-3.5 w-3.5 bg-white rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0.5")})}));ya.displayName=tt.Root.displayName;import*as co from"react";import*as ve from"@radix-ui/react-radio-group";import{Circle as Un}from"lucide-react";import{jsx as It}from"react/jsx-runtime";var wa=co.forwardRef(({className:e,...t},o)=>It(ve.Root,{className:a("grid gap-2",e),...t,ref:o}));wa.displayName=ve.Root.displayName;var Pa=co.forwardRef(({className:e,...t},o)=>It(ve.Item,{ref:o,className:a("aspect-square h-4 w-4 rounded-full border-2 border-gray-300 disabled:bg-gray-100 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-400 data-[state=checked]:bg-pink-500 data-[state=checked]:border-none ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default peer",e),...t,children:It(ve.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:It(Un,{className:"h-2 w-2 fill-current text-current"})})}));Pa.displayName=ve.Item.displayName;import{jsx as Fe,jsxs as Na}from"react/jsx-runtime";var jn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:n=!1})=>{let l=n?{target:"_blank",rel:"noopener noreferrer"}:{};return Fe("li",{className:"",children:Fe(et,{asChild:!0,children:Na("a",{className:a(" select-none space-y-1 rounded-md px-2 py-2 leading-none no-underline outline-none transition-colors hover:bg-pink-50 hover:text-pink-500 focus:bg-pink-50 focus:text-pink-500 flex flex-nowrap space-x-2 min-h-9 ",e,!t&&"items-center px-3"),href:r,...l,children:[t&&Fe("div",{className:"w-7 h-7 shrink-0 mt-1",children:Fe("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),Na("div",{className:" ",children:[Fe("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),i&&Fe("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:i})]})]})})})},Ca=jn;import{jsx as be,jsxs as Qn}from"react/jsx-runtime";var qn=({data:e,alignDropdown:t})=>be(Tt,{alignDropdown:t,children:be(kt,{children:e.map(o=>{let i=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?Qn(Dt,{className:"relative",children:[be(At,{children:o.title}),be(Mt,{children:be("ul",{className:a("grid w-[300px] p-2 grid-cols-1",o.dropDownCompact===!0&&o.subMenu.length>6&&" w-[530px] md:grid-cols-2 ",o.dropDownCompact===!0&&o.subMenu.length>12&&" w-[800px] md:grid-cols-3 "),children:o.subMenu&&o.subMenu.map(r=>be(Ca,{title:r.title,href:r.url,newTab:r.newTab,icon:o.dropDownCompact===!0?r.icon:"",children:o.dropDownCompact===!0?r.description:""},r.title))})})]},o.id):be(Dt,{className:"relative",children:be(et,{href:o.url,className:St(),...i,children:o.title})},o.id)})})}),Ra=qn;import{useEffect as es,useState as ts}from"react";var Lt=[.24,.25,.05,1];import{useKey as os}from"react-use";import Sa from"next/router";import{jsx as ot,jsxs as Ta}from"react/jsx-runtime";var Xn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:n=!1})=>{let l=n?{target:"_blank",rel:"noopener noreferrer"}:{};return ot("li",{className:"min-h-8",children:Ta("a",{className:a(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:r,...l,children:[t&&ot("div",{className:"w-6 h-6 shrink-0",children:ot("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),Ta("div",{className:" ",children:[ot("div",{className:"text-sm text-gray-800 line-clamp-1",children:o}),i&&ot("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:i})]})]})})},ka=Xn;import{motion as Zn}from"framer-motion";import{jsx as Se,jsxs as Jn}from"react/jsx-runtime";var Yn={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:Lt}},exit:{opacity:0,transition:{duration:.05}}},Kn=({data:e})=>Se(ct,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return Se(Zn.div,{variants:Yn,children:t.hasDropdown?Jn(dt,{value:t.id,children:[Se(pt,{className:"py-3",children:t.title}),Se(ft,{children:Se("ul",{className:a("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(i=>Se(ka,{title:i.title,href:i.url,newTab:i.newTab,icon:t.dropDownCompact===!0?i.icon:"",children:t.dropDownCompact===!0?i.description:""},i.title))})})]}):Se("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)})}),Da=Kn;import{motion as po,AnimatePresence as as,LazyMotion as is,domAnimation as rs}from"framer-motion";import{jsx as h,jsxs as z}from"react/jsx-runtime";var ns=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,ss=({data:e,className:t})=>{let[o,i]=ts(!1);os("Escape",()=>i(!1)),es(()=>{if(!o)return;let l=ns();function c(){i(!1)}return document.body.style.position="fixed",document.body.style.width="100%",Sa.events.on("routeChangeComplete",c),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:l||0,behavior:"instant"}),Sa.events.off("routeChangeComplete",c)}},[o]);let r={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:Lt}},exit:{opacity:0,transition:{duration:.15}}};return z("div",{className:a(t),children:[z("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>i(!o),children:[h("span",{className:"sr-only",children:"Navigation"}),h(po.div,{animate:o?"hidden":"visible",variants:r,children:h("svg",{className:a("block w-7 h-7",o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:h("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),h(po.div,{animate:o?"visible":"hidden",variants:r,children:h("svg",{className:a("block w-7 h-7",!o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:h("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),h(is,{features:rs,children:h(as,{mode:"wait",children:o&&z(po.nav,{variants:n,initial:"hidden",animate:"show",exit:"exit",className:a(t,"fixed block w-full max-w-full z-50 px-5 bg-white left-0 right-0 bottom-0 overflow-y-auto top-[calc(var(--header-height)+1px)] pb-24 "),children:[h(Da,{data:e}),z("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[h("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),z("div",{className:"flex flex-nowrap",children:[h("div",{className:"flex-initial",children:h("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:h("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),h("div",{className:"ml-3 flex-initial",children:h("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:h("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),h("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),z("ul",{className:"mb-2 text-sm text-gray-500",children:[z("li",{className:"mb-1",children:["Hotline :\xA0",h("a",{href:`tel:${le.Support.Hotline}`,className:"text-gray-600",children:le.Support.Hotline_Format})]}),z("li",{className:"mb-1",children:["Email :\xA0",h("a",{href:`mailto:${le.Support.Email}`,className:"text-gray-600",children:le.Support.Email})]})]}),h("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:z("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:[h("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:h("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:z("g",{children:[h("title",{children:"Asset 1"}),h("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
+ `})]})});import{MinusCircleIcon as Xn,PlusCircleIcon as Zn}from"@heroicons/react/24/outline";import{useRef as Sa,forwardRef as Kn,useState as Po,useEffect as Da}from"react";import{jsx as Xe,jsxs as Aa}from"react/jsx-runtime";var Yn=Kn(({value:e=0,min:o=0,max:t=999,disabled:a=!1,disabledInput:r=!1,step:n=1,inputClassName:s="",stepperClassName:c="",className:d="",onChange:f=()=>{},onChangeInputStepper:p,onDecrement:S,onIncrement:z,...G},I)=>{let C=Sa(null),[$,Q]=Po(!1),[B,R]=Po(!1),[Ae,Ge]=Po(""),Me=Sa(null),E=h=>{Number(h)>=t?Q(!0):Q(!1),Number(h)>o?R(!1):R(!0)},vr=()=>{if(a||$)return;let h=C?.current?.querySelector("input");if(!h)return;let X=0;X=Math.min(Number(h.value)+n,t),E(X),h.value=String(X),Ge(h.value||""),p?.(h.value),z?.(h.value)},br=()=>{if(a||B)return;let h=C?.current?.querySelector("input");if(!h)return;let X=0;X=Math.max(Number(h.value)-n,0),E(X),h.value=String(X),Ge(h.value||""),p?.(h.value),S?.(h.value)},hr=h=>{if(!h)return;let X=h?.target?.value;X?.match(/^[0-9]*$/)||(X=X.replace(/[^0-9]/g,"")),E(X);let yt=parseInt(X,10);Number.isNaN(yt)||yt<o?h.target.value=String(o):yt>=t?h.target.value=String(t):h.target.value=String(yt),Ge(h?.target?.value||""),p?.(h.target.value),f?.(h)};return Da(()=>{let h=C?.current?.querySelector("input");h&&E(h?.value)},[]),Da(()=>{let h=C?.current?.querySelector("input");h&&Me?.current&&(h.style.width=`${Me.current.offsetWidth+10}px`)},[Ae]),Aa("div",{ref:C,className:"flex items-center space-x-1",children:[Xe(Ne,{id:"btn-minus",className:i(!B&&!a?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:br,children:Xe(Xn,{className:"w-8 h-8 "})}),Aa("div",{children:[Xe("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:I,min:o,max:t,onChange:h=>hr(h),id:"numberInput",disabled:a||r,autoComplete:"off",...G,className:i("text-gray-800 min-w-7 border-gray-300 border transition-width duration-100 focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 w-7 h-7 rounded-md text-center bg-white",s)}),Xe("span",{ref:Me,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:Ae||" "})]}),Xe(Ne,{id:"btn-plus",className:i(!$&&!a?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:vr,children:Xe(Zn,{className:"w-8 h-8 "})})]})});import*as me from"react";import{ChevronDownIcon as Ma,ChevronUpIcon as Jn,CheckIcon as es,XCircleIcon as ts}from"@heroicons/react/16/solid";import{QuestionMarkCircleIcon as os}from"@heroicons/react/24/outline";import*as u from"@radix-ui/react-select";import{jsx as N,jsxs as dt}from"react/jsx-runtime";var as=me.forwardRef(({className:e,children:o,label:t,message:a,size:r,isError:n,disabled:s,...c},d)=>dt("div",{ref:d,className:i("select-mobase relative",e,s?"disabled":"",n?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",r===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[t&&N("span",{className:i("mobase-select-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",r===2&&"text-sm -top-2.5",n&&"text-red-500"),children:t}),N(u.Root,{disabled:s,...c,children:o}),a&&dt("div",{className:i("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?N(ts,{width:16,height:16}):N(os,{width:16,height:16}),N("span",{className:i(r===2?"text-sm":"text-xs"),children:a})]})]})),is=u.Value,La=me.forwardRef(({className:e,children:o,...t},a)=>dt(u.Trigger,{ref:a,className:i("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),...t,children:[N("div",{className:"line-clamp-1 text-left",children:o}),N(u.Icon,{asChild:!0,children:N(Ma,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));La.displayName=u.Trigger.displayName;var Co=me.forwardRef(({className:e,...o},t)=>N(u.ScrollUpButton,{ref:t,className:i("flex cursor-default items-center justify-center py-1",e),...o,children:N(Jn,{className:"h-5 w-5"})}));Co.displayName=u.ScrollUpButton.displayName;var Ro=me.forwardRef(({className:e,...o},t)=>N(u.ScrollDownButton,{ref:t,className:i("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...o,children:N(Ma,{className:"h-5 w-5"})}));Ro.displayName=u.ScrollDownButton.displayName;var Ia=me.forwardRef(({className:e,children:o,position:t="popper",...a},r)=>N(u.Portal,{children:dt(u.Content,{ref:r,className:i("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white text-gray-900 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t==="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:t,...a,children:[N(Co,{}),N(u.Viewport,{className:i("p-0",t==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:o}),N(Ro,{})]})}));Ia.displayName=u.Content.displayName;var rs=me.forwardRef(({className:e,children:o,...t},a)=>N(u.Group,{ref:a,className:i("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...t,children:o})),Ea=me.forwardRef(({className:e,...o},t)=>N(u.Label,{ref:t,className:i("pr-2 pl-8 py-1.5 text-sm font-semibold z-[1]",e),...o}));Ea.displayName=u.Label.displayName;var ns=me.forwardRef(({className:e,children:o,...t},a)=>dt(u.Item,{ref:a,className:i("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...t,children:[N("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:N(u.ItemIndicator,{children:N(es,{className:"h-4 w-4"})})}),N(u.ItemText,{children:o})]})),_a=me.forwardRef(({className:e,...o},t)=>N(u.Separator,{ref:t,className:i("-mx-1 my-1 h-px bg-muted",e),...o}));_a.displayName=u.Separator.displayName;import*as ie from"react";import*as T from"@radix-ui/react-navigation-menu";import{cva as ss}from"class-variance-authority";import{ChevronDownIcon as ls}from"@heroicons/react/16/solid";import{jsx as ce,jsxs as gs}from"react/jsx-runtime";var Ha=ie.createContext(null),ms=({value:e,children:o})=>ce(Ha.Provider,{value:e,children:o}),cs=()=>{let e=ie.useContext(Ha);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},Ht=ie.forwardRef(({className:e,children:o,alignDropdown:t="left",...a},r)=>ce(ms,{value:{alignDropdown:t},children:ce(T.Root,{ref:r,className:i("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:o})}));Ht.displayName=T.Root.displayName;var Bt=ie.forwardRef(({className:e,...o},t)=>ce(T.List,{ref:t,className:i("group flex flex-1 list-none items-center justify-center space-x-0",e),...o}));Bt.displayName=T.List.displayName;var Ft=T.Item,zt=ss(ne({variant:"transparent",size:"sm"})),Vt=ie.forwardRef(({className:e,children:o,...t},a)=>gs(T.Trigger,{ref:a,className:i(zt(),"group px-2",e),...t,children:[o," ",ce(ls,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));Vt.displayName=T.Trigger.displayName;var Ot=ie.forwardRef(({className:e,...o},t)=>{let{alignDropdown:a}=cs();return ce(T.Content,{ref:t,className:i("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 "),...o})});Ot.displayName=T.Content.displayName;var pt=T.Link,ds=ie.forwardRef(({className:e,...o},t)=>ce("div",{className:i("absolute left-0 top-full flex justify-center"),children:ce(T.Viewport,{className:i("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:t,...o})}));ds.displayName=T.Viewport.displayName;var ps=ie.forwardRef(({className:e,...o},t)=>ce(T.Indicator,{ref:t,className:i("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),...o,children:ce("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));ps.displayName=T.Indicator.displayName;import*as Fa from"react";import*as gt from"@radix-ui/react-switch";import{jsx as Ba}from"react/jsx-runtime";var za=Fa.forwardRef(({className:e,...o},t)=>Ba(gt.Root,{className:i("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),...o,ref:t,children:Ba(gt.Thumb,{className:i("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")})}));za.displayName=gt.Root.displayName;import*as To from"react";import*as Ce from"@radix-ui/react-radio-group";import{Circle as fs}from"lucide-react";import{jsx as Wt}from"react/jsx-runtime";var Va=To.forwardRef(({className:e,...o},t)=>Wt(Ce.Root,{className:i("grid gap-2",e),...o,ref:t}));Va.displayName=Ce.Root.displayName;var Oa=To.forwardRef(({className:e,...o},t)=>Wt(Ce.Item,{ref:t,className:i("aspect-square h-4 w-4 rounded-full border-2 border-gray-300 disabled:bg-gray-100 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-400 data-[state=checked]:bg-pink-500 data-[state=checked]:border-none ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default peer",e),...o,children:Wt(Ce.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:Wt(fs,{className:"h-2 w-2 fill-current text-current"})})}));Oa.displayName=Ce.Item.displayName;import{jsx as Ze,jsxs as Wa}from"react/jsx-runtime";var us=({className:e="",icon:o="",title:t,children:a="",href:r="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return Ze("li",{className:"",children:Ze(pt,{asChild:!0,children:Wa("a",{className:i(" 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,!o&&"items-center px-3"),href:r,...s,children:[o&&Ze("div",{className:"w-7 h-7 shrink-0 mt-1",children:Ze("img",{src:o,loading:"lazy",className:"w-7 h-7 object-cover",alt:t})}),Wa("div",{className:" ",children:[Ze("div",{className:"text-sm font-medium text-gray-900 leading-none",children:t}),a&&Ze("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:a})]})]})})})},Ga=us;import{jsx as Re,jsxs as bs}from"react/jsx-runtime";var vs=({data:e,alignDropdown:o})=>Re(Ht,{alignDropdown:o,children:Re(Bt,{children:e.map(t=>{let a=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return t.hasDropdown?bs(Ft,{className:"relative",children:[Re(Vt,{children:t.title}),Re(Ot,{children:Re("ul",{className:i("grid w-[300px] p-2 grid-cols-1",t.dropDownCompact===!0&&t.subMenu.length>6&&" w-[530px] md:grid-cols-2 ",t.dropDownCompact===!0&&t.subMenu.length>12&&" w-[800px] md:grid-cols-3 "),children:t.subMenu&&t.subMenu.map(r=>Re(Ga,{title:r.title,href:r.url,newTab:r.newTab,icon:t.dropDownCompact===!0?r.icon:"",children:t.dropDownCompact===!0?r.description:""},r.title))})})]},t.id):Re(Ft,{className:"relative",children:Re(pt,{href:t.url,className:zt(),...a,children:t.title})},t.id)})})}),$a=vs;import{useEffect as Ps,useState as Cs}from"react";var Gt=[.24,.25,.05,1];import{useKey as Rs}from"react-use";import Qa from"next/router";import{jsx as ft,jsxs as ja}from"react/jsx-runtime";var hs=({className:e="",icon:o="",title:t,children:a="",href:r="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return ft("li",{className:"min-h-8",children:ja("a",{className:i(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:r,...s,children:[o&&ft("div",{className:"w-6 h-6 shrink-0",children:ft("img",{src:o,loading:"lazy",className:"w-6 h-6 object-cover",alt:t})}),ja("div",{className:" ",children:[ft("div",{className:"text-sm text-gray-800 line-clamp-1",children:t}),a&&ft("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:a})]})]})})},qa=hs;import{motion as xs}from"framer-motion";import{jsx as Be,jsxs as Ns}from"react/jsx-runtime";var ys={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:Gt}},exit:{opacity:0,transition:{duration:.05}}},ws=({data:e})=>Be(wt,{type:"single",collapsible:!0,children:e.map(o=>{let t=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return Be(xs.div,{variants:ys,children:o.hasDropdown?Ns(Nt,{value:o.id,children:[Be(Pt,{className:"py-3",children:o.title}),Be(Ct,{children:Be("ul",{className:i("grid gap-y-1 gap-x-2 grid-cols-2 "),children:o.subMenu&&o.subMenu.map(a=>Be(qa,{title:a.title,href:a.url,newTab:a.newTab,icon:o.dropDownCompact===!0?a.icon:"",children:o.dropDownCompact===!0?a.description:""},a.title))})})]}):Be("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:o.url,...t,children:o.title})},o.id)})}),Ua=ws;import{motion as ko,AnimatePresence as Ts,LazyMotion as ks,domAnimation as Ss}from"framer-motion";import{jsx as b,jsxs as W}from"react/jsx-runtime";var Ds=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,As=({data:e,className:o})=>{let[t,a]=Cs(!1);Rs("Escape",()=>a(!1)),Ps(()=>{if(!t)return;let s=Ds();function c(){a(!1)}return document.body.style.position="fixed",document.body.style.width="100%",Qa.events.on("routeChangeComplete",c),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:s||0,behavior:"instant"}),Qa.events.off("routeChangeComplete",c)}},[t]);let r={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:Gt}},exit:{opacity:0,transition:{duration:.15}}};return W("div",{className:i(o),children:[W("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>a(!t),children:[b("span",{className:"sr-only",children:"Navigation"}),b(ko.div,{animate:t?"hidden":"visible",variants:r,children:b("svg",{className:i("block w-7 h-7",t&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:b("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),b(ko.div,{animate:t?"visible":"hidden",variants:r,children:b("svg",{className:i("block w-7 h-7",!t&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:b("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),b(ks,{features:Ss,children:b(Ts,{mode:"wait",children:t&&W(ko.nav,{variants:n,initial:"hidden",animate:"show",exit:"exit",className:i(o,"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:[b(Ua,{data:e}),W("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[b("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),W("div",{className:"flex flex-nowrap",children:[b("div",{className:"flex-initial",children:b("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:b("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),b("div",{className:"ml-3 flex-initial",children:b("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:b("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),b("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),W("ul",{className:"mb-2 text-sm text-gray-500",children:[W("li",{className:"mb-1",children:["Hotline :\xA0",b("a",{href:`tel:${fe.Support.Hotline}`,className:"text-gray-600",children:fe.Support.Hotline_Format})]}),W("li",{className:"mb-1",children:["Email :\xA0",b("a",{href:`mailto:${fe.Support.Email}`,className:"text-gray-600",children:fe.Support.Email})]})]}),b("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:W("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:[b("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:b("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:W("g",{children:[b("title",{children:"Asset 1"}),b("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`}),h("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
122
+ c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),b("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`})]})})}),h("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),h("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),h("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),z("ul",{className:"mb-2 text-sm text-gray-500",children:[z("li",{className:"mb-1",children:["Hotline :\xA0",h("a",{className:"text-gray-600",href:`tel:${le.Business.Phome}`,children:le.Business.Phome_Format})]}),z("li",{className:"mb-1",children:["Email :\xA0",z("a",{href:`mailto:${le.Business.Email}`,className:"text-gray-600",children:[" ",le.Business.Email]})]})]}),h("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:z("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:[h("div",{className:"absolute left-1 top-1 ",children:h("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),h("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),h("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]})]})})})]})},Aa=ss;import ls from"html-react-parser";import{ArrowDownTrayIcon as ms}from"@heroicons/react/16/solid";import{useState as cs}from"react";import{jsx as ee,jsxs as Ae}from"react/jsx-runtime";var Ma=({className:e,dataMenu:t,serviceInfo:o,hasDownloadApp:i=!1,navigationRight:r,isSticky:n=!0,alignDropdown:l="left"})=>{let{logo:c,name:d,url:g}=o||{},[p,k]=cs(!1);return Ae("div",{className:a(e,"z-40 w-full flex-none lg:z-50 ",n?"sticky top-0 ":"relative"),children:[ee("div",{className:a("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),ee("nav",{className:a("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:Ae("div",{className:"relative flex items-center ",children:[Ae("a",{href:"/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[ee("span",{className:"sr-only",children:"MoMo home page"}),ee("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&Ae("a",{href:g,title:d,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:[ee("img",{src:c,className:"w-9 h-9",alt:"MoMo"}),ee("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:d&&ls(d)})]}),ee("div",{className:"relative lg:ml-2 xl:ml-4 hidden lg:flex items-center ",children:ee(Ra,{data:t,alignDropdown:l})}),Ae("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[r&&r,i&&Ae("div",{className:" hidden sm:flex",children:[Ae(E,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>k(!0),children:[" ",ee(ms,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),ee(Re,{open:p,onOpenChange:()=>k(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),ee(Aa,{data:t,className:"lg:hidden "})]})]})})]})};Ma.displayName="HeaderNavigation";import{useState as ds}from"react";import{Fragment as fs,jsx as m,jsxs as b}from"react/jsx-runtime";var Ia=({item:e})=>m("div",{className:"mt-3 flex w-full text-sm",children:b("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&&m("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:m("img",{src:e.icon,className:"absolute inset-0"})}),m("span",{className:"block ",children:e.title})]})}),ps=({primaryMenu:e,secondaryMenu:t})=>{let[o,i]=ds(null);return b(fs,{children:[m("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:b("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:[b("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((r,n)=>m(Ia,{item:r},n))]}),b("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),m("div",{className:"flex flex-wrap",children:t?.lists?.map((r,n)=>m(Ia,{item:r},n))})]}),b("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[b("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),b("div",{className:"mt-2 text-sm md:mt-3",children:[m("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9 : "}),m("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:vo.Address})]}),b("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Hotline : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${B.Support.Hotline}`,children:B.Support.Hotline_Format}),b("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),b("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Email : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${B.Support.Email}`,children:B.Support.Email})]}),b("div",{className:"mt-1 text-sm",children:[b("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${B.Support.Phone_Ext_1}`,children:B.Support.Phone_Ext_1_Format}),m("span",{className:"text-white text-opacity-60",children:" - "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${B.Support.Phone_Ext_2}`,children:B.Support.Phone_Ext_2_Format}),m("span",{className:"text-white text-opacity-60",children:" - "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${B.Support.Phone_Ext_3}`,children:B.Support.Phone_Ext_3_Format}),m("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),m("div",{className:"mt-3 flex",children:m("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:b("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[m("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:m("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:b("g",{children:[m("title",{children:"Asset 1"}),m("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
124
+ c-7.5,0.1-13,4.3-17.3,13c0-17.3-14.1-21.6-21.6-21.6c-8.3,0-17.9,5.2-21.6,13v-90.8C215.4,212.3,203.8,200.7,189.4,200.7z`})]})})}),b("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),b("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),b("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),W("ul",{className:"mb-2 text-sm text-gray-500",children:[W("li",{className:"mb-1",children:["Hotline :\xA0",b("a",{className:"text-gray-600",href:`tel:${fe.Business.Phome}`,children:fe.Business.Phome_Format})]}),W("li",{className:"mb-1",children:["Email :\xA0",W("a",{href:`mailto:${fe.Business.Email}`,className:"text-gray-600",children:[" ",fe.Business.Email]})]})]}),b("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:W("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:[b("div",{className:"absolute left-1 top-1 ",children:b("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),b("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),b("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]})]})})})]})},Xa=As;import Ms from"html-react-parser";import{ArrowDownTrayIcon as Ls}from"@heroicons/react/16/solid";import{useState as Is}from"react";import{jsx as re,jsxs as Fe}from"react/jsx-runtime";var Za=({className:e,dataMenu:o,serviceInfo:t,hasDownloadApp:a=!1,navigationRight:r,isSticky:n=!0,alignDropdown:s="left"})=>{let{logo:c,name:d,url:f}=t||{},[p,S]=Is(!1);return Fe("div",{className:i(e,"z-40 w-full flex-none lg:z-50 ",n?"sticky top-0 ":"relative"),children:[re("div",{className:i("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),re("nav",{className:i("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:Fe("div",{className:"relative flex items-center ",children:[Fe("a",{href:"/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[re("span",{className:"sr-only",children:"MoMo home page"}),re("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),t&&Fe("a",{href:f,title:d,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:[re("img",{src:c,className:"w-9 h-9",alt:"MoMo"}),re("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:d&&Ms(d)})]}),re("div",{className:"relative lg:ml-2 xl:ml-4 hidden lg:flex items-center ",children:re($a,{data:o,alignDropdown:s})}),Fe("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[r&&r,a&&Fe("div",{className:" hidden sm:flex",children:[Fe(J,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>S(!0),children:[" ",re(Ls,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),re(Ie,{open:p,onOpenChange:()=>S(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),re(Xa,{data:o,className:"lg:hidden "})]})]})})]})};Za.displayName="HeaderNavigation";import{useState as Es}from"react";import{Fragment as Hs,jsx as m,jsxs as x}from"react/jsx-runtime";var Ka=({item:e})=>m("div",{className:"mt-3 flex w-full text-sm",children:x("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&&m("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:m("img",{src:e.icon,className:"absolute inset-0"})}),m("span",{className:"block ",children:e.title})]})}),_s=({primaryMenu:e,secondaryMenu:o})=>{let[t,a]=Es(null);return x(Hs,{children:[m("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:x("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:[x("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((r,n)=>m(Ka,{item:r},n))]}),x("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:o?.heading}),m("div",{className:"flex flex-wrap",children:o?.lists?.map((r,n)=>m(Ka,{item:r},n))})]}),x("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[x("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),x("div",{className:"mt-2 text-sm md:mt-3",children:[m("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9 : "}),m("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:Ho.Address})]}),x("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Hotline : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Hotline}`,children:V.Support.Hotline_Format}),x("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),x("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Email : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${V.Support.Email}`,children:V.Support.Email})]}),x("div",{className:"mt-1 text-sm",children:[x("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Phone_Ext_1}`,children:V.Support.Phone_Ext_1_Format}),m("span",{className:"text-white text-opacity-60",children:" - "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Phone_Ext_2}`,children:V.Support.Phone_Ext_2_Format}),m("span",{className:"text-white text-opacity-60",children:" - "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Support.Phone_Ext_3}`,children:V.Support.Phone_Ext_3_Format}),m("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),m("div",{className:"mt-3 flex",children:m("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:x("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[m("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:m("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:x("g",{children:[m("title",{children:"Asset 1"}),m("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`}),m("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`})]})})}),m("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),m("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),b("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),b("div",{className:"mt-2 text-sm md:mt-3",children:[m("span",{className:"text-white text-opacity-50",children:"Hotline : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${B.Business.Phome}`,children:B.Business.Phome_Format})]}),b("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Email : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${B.Business.Email}`,children:B.Business.Email})]}),b("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Website : "}),m("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"})]}),m("div",{className:"mt-3 flex",children:m("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:b("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[m("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:b("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[m("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"}),m("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"}),m("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"}),m("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"}),m("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"}),m("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"}),m("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"}),m("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"}),m("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"})]})}),m("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),m("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),b("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:[b("div",{className:"h-auto",children:[m("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"}),m("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:m("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:Ge&&Ge.map((r,n)=>m("li",{className:"inline-block",children:m("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:m("img",{src:r.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),b("div",{className:"h-auto",children:[m("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"}),b("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[m("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:m("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),m("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:zt&&zt.map((r,n)=>b("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${r.Image}) center center / contain no-repeat`},children:[m(E,{onClick:()=>i(n),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:r.Name}),m("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),m(Re,{open:o===n,onOpenChange:()=>i(null),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng",shortTitle:"T\u1EA3i ngay",qrLink:r.Link})]},n))}),m("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:m("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:Ge&&Ge.map((r,n)=>m("li",{children:m("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:m("img",{alt:r.Name,src:r.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),b("div",{className:"h-auto",children:[m("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"}),b("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[b("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),m("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:m("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),m("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:b("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[b("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[m("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),b("div",{className:"shrink pl-3",children:[m("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"}),m("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"})]})]}),m("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"}),b("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()]})]})}),m("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`})]})})}),m("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),m("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),x("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[m("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),x("div",{className:"mt-2 text-sm md:mt-3",children:[m("span",{className:"text-white text-opacity-50",children:"Hotline : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${V.Business.Phome}`,children:V.Business.Phome_Format})]}),x("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Email : "}),m("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${V.Business.Email}`,children:V.Business.Email})]}),x("div",{className:"mt-1 text-sm",children:[m("span",{className:"text-white text-opacity-50",children:"Website : "}),m("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"})]}),m("div",{className:"mt-3 flex",children:m("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:x("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[m("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:x("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[m("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"}),m("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"}),m("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"}),m("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"}),m("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"}),m("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"}),m("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"}),m("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"}),m("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"})]})}),m("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),m("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),x("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:[x("div",{className:"h-auto",children:[m("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"}),m("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:m("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:ot&&ot.map((r,n)=>m("li",{className:"inline-block",children:m("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:m("img",{src:r.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),x("div",{className:"h-auto",children:[m("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"}),x("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[m("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:m("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),m("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:Qt&&Qt.map((r,n)=>x("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${r.Image}) center center / contain no-repeat`},children:[m(J,{onClick:()=>a(n),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:r.Name}),m("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),m(Ie,{open:t===n,onOpenChange:()=>a(null),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng",shortTitle:"T\u1EA3i ngay",qrLink:r.Link})]},n))}),m("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:m("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:ot&&ot.map((r,n)=>m("li",{children:m("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:m("img",{alt:r.Name,src:r.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),x("div",{className:"h-auto",children:[m("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"}),x("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[x("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),m("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:m("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),m("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:x("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[x("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[m("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),x("div",{className:"shrink pl-3",children:[m("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"}),m("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"})]})]}),m("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"}),x("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()]})]})}),m("style",{children:`
129
129
  footer .button-download {
130
130
  max-width: 150px;
131
131
  }
132
- `})]})},La=ps;import{jsx as Ea}from"react/jsx-runtime";var gs=({className:e,primaryMenu:t,secondaryMenu:o})=>Ea("footer",{className:a("grid grid-cols-1 flex-wrap bg-gray-900",e),children:Ea(La,{primaryMenu:t,secondaryMenu:o})});import*as Me from"react";import{jsx as Oe}from"react/jsx-runtime";var _a=Me.forwardRef(({className:e,...t},o)=>Oe("div",{ref:o,className:a("rounded-xl border bg-card text-card-foreground shadow",e),...t}));_a.displayName="Card";var Ha=Me.forwardRef(({className:e,...t},o)=>Oe("div",{ref:o,className:a("flex flex-col space-y-1.5 p-6",e),...t}));Ha.displayName="CardHeader";var Ba=Me.forwardRef(({className:e,...t},o)=>Oe("h3",{ref:o,className:a("font-semibold leading-none tracking-tight",e),...t}));Ba.displayName="CardTitle";var Va=Me.forwardRef(({className:e,...t},o)=>Oe("p",{ref:o,className:a("text-sm text-muted-foreground",e),...t}));Va.displayName="CardDescription";var za=Me.forwardRef(({className:e,...t},o)=>Oe("div",{ref:o,className:a("p-6 pt-0",e),...t}));za.displayName="CardContent";var Fa=Me.forwardRef(({className:e,...t},o)=>Oe("div",{ref:o,className:a("flex items-center p-6 pt-0",e),...t}));Fa.displayName="CardFooter";import*as Z from"react";import{Command as W}from"cmdk";import{XCircleIcon as us,MagnifyingGlassIcon as hs,CheckIcon as vs}from"@heroicons/react/16/solid";import{jsx as U,jsxs as Qa}from"react/jsx-runtime";var fo=Z.forwardRef(({className:e,...t},o)=>U(W,{ref:o,className:a("flex text-gray-900 border border-gray-300 shadow-lg bg-white h-full w-full flex-col overflow-hidden rounded-md",e),...t}));fo.displayName=W.displayName;var bs=({children:e,...t})=>U(je,{...t,children:U(_e,{className:"overflow-hidden p-0 shadow-lg",children:U(fo,{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})})}),Oa=Z.forwardRef(({className:e,onClickClear:t,...o},i)=>{let r=Z.useRef(null),[n,l]=Z.useState(""),c=()=>{!n||n?.length<=0||(l(""),t?.(n))};return Qa("div",{ref:r,className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[U(hs,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),U(W.Input,{ref:i,className:a("flex h-10 text-gray-900 w-full rounded-md focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),value:n,onValueChange:l,...o}),U(us,{onClick:c,className:a("ml-2 transition-all cursor-pointer h-4 w-4 duration-75 shrink-0 text-gray-500",n?.length>0?"opacity-100":"opacity-0")})]})});Oa.displayName=W.Input.displayName;var Wa=Z.forwardRef(({className:e,...t},o)=>U(W.List,{ref:o,className:a("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...t}));Wa.displayName=W.List.displayName;var Ga=Z.forwardRef((e,t)=>U(W.Empty,{ref:t,className:"py-6 text-gray-900 text-center text-sm",...e}));Ga.displayName=W.Empty.displayName;var $a=Z.forwardRef(({className:e,...t},o)=>U(W.Group,{ref:o,className:a("overflow-hidden text-gray-900 p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));$a.displayName=W.Group.displayName;var Ua=Z.forwardRef(({className:e,...t},o)=>U(W.Separator,{ref:o,className:a("-mx-1 text-gray-900 h-px bg-border",e),...t}));Ua.displayName=W.Separator.displayName;var ja=Z.forwardRef(({className:e,children:t,isActive:o,...i},r)=>Qa(W.Item,{ref:r,className:a("relative cursor-pointer text-gray-900 flex rounded-md select-none hover:bg-gray-100 aria-selected:bg-gray-100 aria-selected:text-gray-900 items-center px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",o?"bg-gray-100":"",e),...i,children:[U(vs,{className:a("h-4 w-4 mr-2",o?"opacity-100":"opacity-0")}),t]}));ja.displayName=W.Item.displayName;var qa=({className:e,...t})=>U("span",{className:a("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...t});qa.displayName="CommandShortcut";import{ChevronDownIcon as xs}from"@heroicons/react/16/solid";import{jsx as Et,jsxs as Xa}from"react/jsx-runtime";var ys=({className:e,value:t,label:o,children:i,placeholder:r})=>Xa("div",{className:"relative",children:[Xa(Xe,{className:a("focus-visible:outline-none w-72 focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 select-mobase-button bg-white ring-0 transition-all rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),children:[t||i||r,Et(xs,{className:"h-4 w-4 text-gray-700 flex-none"})]}),o&&Et("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:o})]}),ws=({children:e,className:t})=>Et(Be,{className:a("!p-0 border-none",t),children:e}),Ps=({open:e,onOpenChange:t,children:o})=>Et(Qe,{open:e,onOpenChange:t,children:o});import{cva as Ya}from"class-variance-authority";import{forwardRef as Ns}from"react";import{InformationCircleIcon as Cs}from"@heroicons/react/24/outline";import{jsx as go,jsxs as Za}from"react/jsx-runtime";var Rs=Ya("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"}}),Ts=Ya("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"}}),ks=Ns(({type:e="neutral",message:t="",withAction:o=!1,onClickAction:i,className:r,disabled:n,actionClassName:l,...c},d)=>Za("div",{ref:d,className:a("",r,Rs({typeDiv:e,disabled:n})),...c,children:[Za("div",{className:"flex items-center space-x-2",children:[go(Cs,{className:a(Ts({typeIcon:e,disabled:n})),width:20,height:20}),go("div",{children:"B\u1EA1n c\u1EA7n cho ph\xE9p website s\u1EED d\u1EE5ng th\xF4ng tin v\u1ECB tr\xED \u0111\u1EC3 s\u1EED d\u1EE5ng t\xEDnh n\u0103ng n\xE0y"})]}),o&&go(Rt,{variant:"primary",onClick:()=>i?.(),className:a("",l),isDisabled:n,children:o})]}));import{forwardRef as Ds,useEffect as Ss,useRef as As,useState as Ms}from"react";import{MagnifyingGlassIcon as Is}from"@heroicons/react/20/solid";import{XCircleIcon as Ls}from"@heroicons/react/24/outline";import{jsx as We,jsxs as Ka}from"react/jsx-runtime";var Es=Ds(({disabled:e,className:t,inputClassName:o,size:i,onChange:r,onFocus:n,onClickClear:l,value:c,defaultValue:d,type:g="text",...p},k)=>{let[H,F]=Ms(!1),M=As(null),C=R=>{R&&!H&&F(!0),!R&&H&&F(!1)},O=R=>{C(R.target.value),r?.(R)},G=R=>{C(R.target.value),n?.(R)},L=()=>{let R=M.current?.querySelector("input");R&&(l?.(R.value),R.value="",R.focus(),F(!1))};return Ss(()=>{C(d||c)},[c,d]),Ka("div",{className:a(t),ref:M,children:[Ka("div",{className:"relative flex items-center",children:[We("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 shrink-0 text-gray-500 duration-200 ",children:We(Is,{className:"w-4 h-4 text-gray-500"})}),We("input",{disabled:e,type:g,ref:k,className:a("mobase-text-input-box text-gray-900 h-10 bg-white w-full transition-all text-sm rounded-md border border-gray-300 placeholder:text-gray-500 px-9 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none block disabled:opacity-50",o),onChange:O,onFocus:G,value:c,defaultValue:d,...p}),H&&We("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:L,children:We(Ls,{strokeWidth:2,width:20,height:20})})]}),We("style",{children:`
132
+ `})]})},Ya=_s;import{jsx as Ja}from"react/jsx-runtime";var Bs=({className:e,primaryMenu:o,secondaryMenu:t})=>Ja("footer",{className:i("grid grid-cols-1 flex-wrap bg-gray-900",e),children:Ja(Ya,{primaryMenu:o,secondaryMenu:t})});import*as ze from"react";import{jsx as Ke}from"react/jsx-runtime";var ei=ze.forwardRef(({className:e,...o},t)=>Ke("div",{ref:t,className:i("rounded-xl border bg-card text-card-foreground shadow",e),...o}));ei.displayName="Card";var ti=ze.forwardRef(({className:e,...o},t)=>Ke("div",{ref:t,className:i("flex flex-col space-y-1.5 p-6",e),...o}));ti.displayName="CardHeader";var oi=ze.forwardRef(({className:e,...o},t)=>Ke("h3",{ref:t,className:i("font-semibold leading-none tracking-tight",e),...o}));oi.displayName="CardTitle";var ai=ze.forwardRef(({className:e,...o},t)=>Ke("p",{ref:t,className:i("text-sm text-muted-foreground",e),...o}));ai.displayName="CardDescription";var ii=ze.forwardRef(({className:e,...o},t)=>Ke("div",{ref:t,className:i("p-6 pt-0",e),...o}));ii.displayName="CardContent";var ri=ze.forwardRef(({className:e,...o},t)=>Ke("div",{ref:t,className:i("flex items-center p-6 pt-0",e),...o}));ri.displayName="CardFooter";import*as oe from"react";import{Command as j}from"cmdk";import{XCircleIcon as Fs,MagnifyingGlassIcon as zs,CheckIcon as Vs}from"@heroicons/react/16/solid";import{jsx as Z,jsxs as gi}from"react/jsx-runtime";var So=oe.forwardRef(({className:e,...o},t)=>Z(j,{ref:t,className:i("flex text-gray-900 border border-gray-300 shadow-lg bg-white h-full w-full flex-col overflow-hidden rounded-md",e),...o}));So.displayName=j.displayName;var Os=({children:e,...o})=>Z(Le,{...o,children:Z(we,{className:"overflow-hidden p-0 shadow-lg",children:Z(So,{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})})}),ni=oe.forwardRef(({className:e,onClickClear:o,...t},a)=>{let r=oe.useRef(null),[n,s]=oe.useState(""),c=()=>{!n||n?.length<=0||(s(""),o?.(n))};return gi("div",{ref:r,className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[Z(zs,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),Z(j.Input,{ref:a,className:i("flex h-10 text-gray-900 w-full rounded-md focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),value:n,onValueChange:s,...t}),Z(Fs,{onClick:c,className:i("ml-2 transition-all cursor-pointer h-4 w-4 duration-75 shrink-0 text-gray-500",n?.length>0?"opacity-100":"opacity-0")})]})});ni.displayName=j.Input.displayName;var si=oe.forwardRef(({className:e,...o},t)=>Z(j.List,{ref:t,className:i("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...o}));si.displayName=j.List.displayName;var li=oe.forwardRef((e,o)=>Z(j.Empty,{ref:o,className:"py-6 text-gray-900 text-center text-sm",...e}));li.displayName=j.Empty.displayName;var mi=oe.forwardRef(({className:e,...o},t)=>Z(j.Group,{ref:t,className:i("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),...o}));mi.displayName=j.Group.displayName;var ci=oe.forwardRef(({className:e,...o},t)=>Z(j.Separator,{ref:t,className:i("-mx-1 text-gray-900 h-px bg-border",e),...o}));ci.displayName=j.Separator.displayName;var di=oe.forwardRef(({className:e,children:o,isActive:t,...a},r)=>gi(j.Item,{ref:r,className:i("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",t?"bg-gray-100":"",e),...a,children:[Z(Vs,{className:i("h-4 w-4 mr-2",t?"opacity-100":"opacity-0")}),o]}));di.displayName=j.Item.displayName;var pi=({className:e,...o})=>Z("span",{className:i("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...o});pi.displayName="CommandShortcut";import{ChevronDownIcon as Ws}from"@heroicons/react/16/solid";import{jsx as $t,jsxs as fi}from"react/jsx-runtime";var Gs=({className:e,value:o,label:t,children:a,placeholder:r})=>fi("div",{className:"relative",children:[fi(st,{className:i("focus-visible:outline-none w-72 focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 select-mobase-button bg-white ring-0 transition-all rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),children:[o||a||r,$t(Ws,{className:"h-4 w-4 text-gray-700 flex-none"})]}),t&&$t("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:t})]}),$s=({children:e,className:o})=>$t(qe,{className:i("!p-0 border-none",o),children:e}),js=({open:e,onOpenChange:o,children:t})=>$t(nt,{open:e,onOpenChange:o,children:t});import{cva as vi}from"class-variance-authority";import{forwardRef as qs}from"react";import{InformationCircleIcon as Us}from"@heroicons/react/24/outline";import{jsx as Do,jsxs as ui}from"react/jsx-runtime";var Qs=vi("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"}}),Xs=vi("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"}}),Zs=qs(({type:e="neutral",message:o="",withAction:t=!1,onClickAction:a,className:r,disabled:n,actionClassName:s,...c},d)=>ui("div",{ref:d,className:i("",r,Qs({typeDiv:e,disabled:n})),...c,children:[ui("div",{className:"flex items-center space-x-2",children:[Do(Us,{className:i(Xs({typeIcon:e,disabled:n})),width:20,height:20}),Do("div",{children:"B\u1EA1n c\u1EA7n cho ph\xE9p website s\u1EED d\u1EE5ng th\xF4ng tin v\u1ECB tr\xED \u0111\u1EC3 s\u1EED d\u1EE5ng t\xEDnh n\u0103ng n\xE0y"})]}),t&&Do(Qe,{variant:"primary",onClick:()=>a?.(),className:i("",s),isDisabled:n,children:t})]}));import{forwardRef as Ks,useEffect as Ys,useRef as Js,useState as el}from"react";import{MagnifyingGlassIcon as tl}from"@heroicons/react/20/solid";import{XCircleIcon as ol}from"@heroicons/react/24/outline";import{jsx as Ye,jsxs as bi}from"react/jsx-runtime";var al=Ks(({disabled:e,className:o,inputClassName:t,size:a,onChange:r,onFocus:n,onClickClear:s,value:c,defaultValue:d,type:f="text",...p},S)=>{let[z,G]=el(!1),I=Js(null),C=R=>{R&&!z&&G(!0),!R&&z&&G(!1)},$=R=>{C(R.target.value),r?.(R)},Q=R=>{C(R.target.value),n?.(R)},B=()=>{let R=I.current?.querySelector("input");R&&(s?.(R.value),R.value="",R.focus(),G(!1))};return Ys(()=>{C(d||c)},[c,d]),bi("div",{className:i(o),ref:I,children:[bi("div",{className:"relative flex items-center",children:[Ye("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 shrink-0 text-gray-500 duration-200 ",children:Ye(tl,{className:"w-4 h-4 text-gray-500"})}),Ye("input",{disabled:e,type:f,ref:S,className:i("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",t),onChange:$,onFocus:Q,value:c,defaultValue:d,...p}),z&&Ye("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:B,children:Ye(ol,{strokeWidth:2,width:20,height:20})})]}),Ye("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
- `})]})});import{Swiper as _s,SwiperSlide as Hs}from"swiper/react";import{Navigation as Ja,Lazy as ei,Pagination as Bs}from"swiper";import*as A from"@radix-ui/react-dialog";import Ie,{useEffect as Vs,useState as ti}from"react";import{X as zs}from"lucide-react";import{ChevronLeftIcon as Fs,ChevronRightIcon as Os}from"@heroicons/react/24/outline";import Ws from"lodash";import{jsx as P,jsxs as ge}from"react/jsx-runtime";var Gs=A.Root,$s=A.Portal,oi=Ie.forwardRef(({className:e,...t},o)=>P(A.Overlay,{ref:o,className:a("fixed inset-0 bg-black/80 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));oi.displayName=A.Overlay.displayName;var Us=({clearActiveIndex:e})=>ge(A.Close,{onClick:()=>e?.(),className:"flex transition-all z-10 text-sm items-center space-x-1 absolute left-3 top-6 md:left-6 hover:bg-white/20 text-white rounded-md px-4 py-2",children:[P(zs,{className:"h-4 w-4 mt-0.5"}),P("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),js=({children:e,src:t,alt:o,className:i,classNameImage:r,onClick:n})=>{let l=()=>{n?.()};return ge(A.Trigger,{className:a("aspect-[2/3] relative overflow-hidden rounded-lg",i),onClick:l,children:[e,P("img",{src:t,alt:o,className:a("w-full h-full object-cover rounded-lg",r)})]})},ai=Ie.forwardRef(({className:e,children:t,...o},i)=>ge($s,{children:[P(oi,{className:"bg-black"}),ge(A.Content,{ref:i,className:a("h-full min-w-full border-none rounded-none z-[999] fixed bg-black left-[50%] top-[50%] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] ",e),...o,children:[t,P(Us,{})]})]}));ai.displayName=A.Content.displayName;var qs=({className:e,...t})=>P("div",{className:a("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});qs.displayName="DialogHeader";var Qs=({className:e,...t})=>P("div",{className:a("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Qs.displayName="DialogFooter";var Xs=Ie.forwardRef(({className:e,...t},o)=>P(A.Title,{ref:o,className:a("text-lg font-semibold leading-none tracking-tight",e),...t}));Xs.displayName=A.Title.displayName;var Zs=Ie.forwardRef(({className:e,...t},o)=>P(A.Description,{ref:o,className:a("text-sm text-muted-foreground",e),...t}));Zs.displayName=A.Description.displayName;var Ys=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:i,classNameSubHtmSideBar:r,className:n,isPagination:l=!1})=>{let[c,d]=ti(t),[g,p]=ti(""),k=()=>{let M=Ws.filter(e,(O,G)=>G===t),C=M.length>0?M[0]?.titleImage:"";p(C)};Vs(()=>{d(t),k()},[t]);let H={clickable:!0,renderBullet(M,C){let O=a("aspect-[1/1] min-w-[96px] mt-40 min-h-[76px] !rounded-lg overflow-hidden",C),G=a("w-full h-full object-cover rounded-lg");return e[M]?.url?`
140
- <div class="${O} ">
141
- <img class="${G} " src="${e[M]?.url}" alt="Slide ${M+1}" />
139
+ `})]})});import{Swiper as il,SwiperSlide as rl}from"swiper/react";import{Navigation as hi,Lazy as xi,Pagination as nl}from"swiper";import*as M from"@radix-ui/react-dialog";import Ve,{useEffect as sl,useState as yi}from"react";import{X as ll}from"lucide-react";import{ChevronLeftIcon as ml,ChevronRightIcon as cl}from"@heroicons/react/24/outline";import dl from"lodash";import{jsx as P,jsxs as ye}from"react/jsx-runtime";var pl=M.Root,gl=M.Portal,wi=Ve.forwardRef(({className:e,...o},t)=>P(M.Overlay,{ref:t,className:i("fixed inset-0 bg-black/80 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...o}));wi.displayName=M.Overlay.displayName;var fl=({clearActiveIndex:e})=>ye(M.Close,{onClick:()=>e?.(),className:"flex transition-all z-10 text-sm items-center space-x-1 absolute left-3 top-6 md:left-6 hover:bg-white/20 text-white rounded-md px-4 py-2",children:[P(ll,{className:"h-4 w-4 mt-0.5"}),P("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),ul=({children:e,src:o,alt:t,className:a,classNameImage:r,onClick:n})=>{let s=()=>{n?.()};return ye(M.Trigger,{className:i("aspect-[2/3] relative overflow-hidden rounded-lg",a),onClick:s,children:[e,P("img",{src:o,alt:t,className:i("w-full h-full object-cover rounded-lg",r)})]})},Ni=Ve.forwardRef(({className:e,children:o,...t},a)=>ye(gl,{children:[P(wi,{className:"bg-black"}),ye(M.Content,{ref:a,className:i("h-full min-w-full border-none rounded-none z-[999] fixed bg-black left-[50%] top-[50%] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] ",e),...t,children:[o,P(fl,{})]})]}));Ni.displayName=M.Content.displayName;var vl=({className:e,...o})=>P("div",{className:i("flex flex-col space-y-1.5 text-center sm:text-left",e),...o});vl.displayName="DialogHeader";var bl=({className:e,...o})=>P("div",{className:i("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...o});bl.displayName="DialogFooter";var hl=Ve.forwardRef(({className:e,...o},t)=>P(M.Title,{ref:t,className:i("text-lg font-semibold leading-none tracking-tight",e),...o}));hl.displayName=M.Title.displayName;var xl=Ve.forwardRef(({className:e,...o},t)=>P(M.Description,{ref:t,className:i("text-sm text-muted-foreground",e),...o}));xl.displayName=M.Description.displayName;var yl=({images:e,activeSlideIndex:o=0,withSideBar:t,subHtmlSideBar:a,classNameSubHtmSideBar:r,className:n,isPagination:s=!1})=>{let[c,d]=yi(o),[f,p]=yi(""),S=()=>{let I=dl.filter(e,($,Q)=>Q===o),C=I.length>0?I[0]?.titleImage:"";p(C)};sl(()=>{d(o),S()},[o]);let z={clickable:!0,renderBullet(I,C){let $=i("aspect-[1/1] min-w-[96px] mt-40 min-h-[76px] !rounded-lg overflow-hidden",C),Q=i("w-full h-full object-cover rounded-lg");return e[I]?.url?`
140
+ <div class="${$} ">
141
+ <img class="${Q} " src="${e[I]?.url}" alt="Slide ${I+1}" />
142
142
  </div>
143
- `:"<div></div>"}},F=l?[Ja,ei,Bs]:[Ja,ei];return ge(ai,{className:a("flex py-0",n),children:[ge("div",{className:"lightbox flex-1 py-6",children:[P("div",{className:"flex items-center justify-end md:justify-center mt-2 w-full",children:ge("div",{children:[c?c+1:1," / ",e?.length]})}),ge(_s,{initialSlide:t,onSlideChange:({realIndex:M})=>{d(M),k();let C=document.querySelector(".swiper-pagination-bullet-active");C&&C.scrollIntoView({behavior:"smooth",block:"nearest"})},onDestroy:()=>{d(t),k()},slidesPerView:"auto",className:"swiper lightboxSwiper",navigation:{nextEl:".lightbox .next-lightbox",prevEl:".lightbox .prev-lightbox"},pagination:H,modules:F,lazy:{loadPrevNext:!0},children:[e.map((M,C)=>ge(Hs,{children:[P("div",{className:"absolute top-28 bottom-28 left-0 right-0 min-h-0 sm:left-20 sm:right-20",children:P("img",{src:M.url,alt:"",className:"absolute h-full w-full object-contain",loading:"lazy"})}),P("div",{className:"swiper-lazy-preloader swiper-lazy-preloader-white"}),P("div",{className:"text-sm px-20 text-center text-white/80 absolute bottom-10 my-4 flex items-center justify-center w-full z-[999]",children:g})]},C)),P(ue,{className:"disabled:bg-white/60 prev-lightbox button-swiper translate swiper-cate-merchant absolute inset-y-1/2 left-6 z-10 hidden h-12 w-12 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-gray-300 bg-white text-white shadow-md duration-200 ease-in-out hover:bg-white/80 hover:shadow-md md:flex",children:P(Fs,{className:"w-7 text-slate-900"})}),P(ue,{className:"disabled:bg-white/60 next-lightbox translate swiper-cate-merchant button-swiper absolute inset-y-1/2 right-6 z-10 hidden h-12 w-12 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-gray-300 bg-white text-white shadow-md duration-300 ease-in-out hover:bg-white/80 hover:shadow-md md:flex",children:P(Os,{className:"w-7 text-slate-900"})})]}),P("style",{children:`
143
+ `:"<div></div>"}},G=s?[hi,xi,nl]:[hi,xi];return ye(Ni,{className:i("flex py-0",n),children:[ye("div",{className:"lightbox flex-1 py-6",children:[P("div",{className:"flex items-center justify-end md:justify-center mt-2 w-full",children:ye("div",{children:[c?c+1:1," / ",e?.length]})}),ye(il,{initialSlide:o,onSlideChange:({realIndex:I})=>{d(I),S();let C=document.querySelector(".swiper-pagination-bullet-active");C&&C.scrollIntoView({behavior:"smooth",block:"nearest"})},onDestroy:()=>{d(o),S()},slidesPerView:"auto",className:"swiper lightboxSwiper",navigation:{nextEl:".lightbox .next-lightbox",prevEl:".lightbox .prev-lightbox"},pagination:z,modules:G,lazy:{loadPrevNext:!0},children:[e.map((I,C)=>ye(rl,{children:[P("div",{className:"absolute top-28 bottom-28 left-0 right-0 min-h-0 sm:left-20 sm:right-20",children:P("img",{src:I.url,alt:"",className:"absolute h-full w-full object-contain",loading:"lazy"})}),P("div",{className:"swiper-lazy-preloader swiper-lazy-preloader-white"}),P("div",{className:"text-sm px-20 text-center text-white/80 absolute bottom-10 my-4 flex items-center justify-center w-full z-[999]",children:f})]},C)),P(Ne,{className:"disabled:bg-white/60 prev-lightbox button-swiper translate swiper-cate-merchant absolute inset-y-1/2 left-6 z-10 hidden h-12 w-12 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-gray-300 bg-white text-white shadow-md duration-200 ease-in-out hover:bg-white/80 hover:shadow-md md:flex",children:P(ml,{className:"w-7 text-slate-900"})}),P(Ne,{className:"disabled:bg-white/60 next-lightbox translate swiper-cate-merchant button-swiper absolute inset-y-1/2 right-6 z-10 hidden h-12 w-12 -translate-y-1/2 cursor-pointer items-center justify-center rounded-full border border-gray-300 bg-white text-white shadow-md duration-300 ease-in-out hover:bg-white/80 hover:shadow-md md:flex",children:P(cl,{className:"w-7 text-slate-900"})})]}),P("style",{children:`
144
144
  .lightbox {
145
145
  --lightbox-topnav: 112px;
146
146
  --lightbox-botnav: 80px;
@@ -213,33 +213,29 @@ import*as $e from"react";import*as j from"@radix-ui/react-accordion";import{Chev
213
213
  .swiper-pagination-bullet-active{
214
214
  border: 2px solid white;
215
215
  }
216
- `})]}),o&&P("div",{className:a("hidden md:flex overflow-y-auto bg-white text-gray-900 px-6 pb-4 pt-2 w-full max-w-sm lg:max-w-md",r),children:i})]})},Ks=({children:e,className:t,open:o,onOpenChange:i})=>P("div",{className:a("lightbox-gallery ",t),children:P(Gs,{open:o,onOpenChange:i,children:Ie.Children?.map(e,r=>{if(Ie.isValidElement(r)){let n={},l=Object.keys(n).reduce((c,d)=>(n[d]!==void 0&&(c[d]=n[d]),c),{});return Ie.cloneElement(r,l)}return null})})});import*as xe from"react";import*as ye from"@radix-ui/react-radio-group";import{Circle as Js}from"lucide-react";import*as at from"@radix-ui/react-checkbox";import{CheckIcon as el}from"@heroicons/react/16/solid";import{jsx as ne,jsxs as li}from"react/jsx-runtime";var ii=xe.createContext({hideIndicator:!1});function tl(){let e=xe.useContext(ii);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var ri=xe.forwardRef(({className:e,hideIndicator:t=!1,...o},i)=>ne(ii.Provider,{value:{hideIndicator:t},children:ne(ye.Root,{className:a("grid gap-2",t&&"hide-indicator",e),...o,ref:i})}));ri.displayName=ye.Root.displayName;var ni=xe.forwardRef(({className:e,children:t,...o},i)=>{let r=tl(),{hideIndicator:n}=r??{};return li(ye.Item,{ref:i,className:a("cursor-pointer relative block border border-gray-300 text-gray-900 p-3 md:px-4 md:py-3 rounded-md bg-white w-full hover:border-pink-500 disabled:bg-gray-100 disabled:border-gray-300 disabled:pointer-events-none disabled:cursor-default data-[state=checked]:border-pink-500 ring-inset ring-pink-500 data-[state=checked]:ring-[1px] group flex items-center space-x-2 text-left",e),...o,children:[ne("div",{className:"flex-1 min-w-0",children:t}),!n&&ne("div",{className:a("flex-none aspect-square h-4 w-4 rounded-full border-2 border-gray-300 group-disabled:bg-gray-200 group-disabled:data-[state=checked]:text-gray-300 group-data-[state=checked]:text-white group-disabled:data-[state=checked]:bg-gray-100 group-data-[state=checked]:bg-pink-500 group-data-[state=checked]:border-none group-disabled:cursor-default has"),children:ne(ye.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:ne(Js,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});ni.displayName=ye.Item.displayName;var si=xe.forwardRef(({className:e,children:t,...o},i)=>li(at.Root,{ref:i,className:a("cursor-pointer relative block border border-gray-300 text-gray-900 p-3 md:px-4 md:py-3 rounded-md bg-white w-full hover:border-pink-500 disabled:bg-gray-100 disabled:border-gray-300 disabled:pointer-events-none disabled:cursor-default data-[state=checked]:border-pink-500 ring-inset ring-pink-500 data-[state=checked]:ring-[1px] group flex items-center space-x-2 text-left",e),...o,children:[ne("div",{className:"flex-1 min-w-0",children:t}),ne("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:ne(at.Indicator,{className:a("flex items-center justify-center text-current"),children:ne(el,{className:"h-4 w-4"})})})]}));si.displayName=at.Root.displayName;import{cva as ol}from"class-variance-authority";import{jsx as il}from"react/jsx-runtime";var mi=ol("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 al({className:e,variant:t,...o}){return il("div",{className:a(mi({variant:t}),e),...o})}import*as di from"react";import*as it from"@radix-ui/react-progress";import{cva as pi}from"class-variance-authority";import{jsx as ci}from"react/jsx-runtime";var rl=pi("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"}}),nl=pi("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"}}),fi=di.forwardRef(({className:e,value:t,variant:o="progress",size:i="medium",disabled:r=!1,...n},l)=>ci(it.Root,{ref:l,className:a("",nl({size:i}),e),...n,children:ci(it.Indicator,{className:a("",rl({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));fi.displayName=it.Root.displayName;import bi,{forwardRef as sl}from"react";var _t=1;var gi={tagName:"DUMMY TAG",title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. ",description:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. Maxime minima amet porro.nam asperiores omnis labore doloribus excepturi?",media:{type:1,src:"https://homepage.momocdn.net/img/momo-upload-api-240522112100-638519736605993862.jpg",ratioImg:1/1}},ui=[{variant:"primary",content:"Button Primary",url:""},{variant:"transparent",content:"Button Text",url:""}],hi={type:"col",contents:[{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""},{title:"Lorem ipsum, dolor sit amet consectetur adipisicing elit",label:"",icon:""}]};import{CheckIcon as ll}from"@heroicons/react/24/outline";import*as vi from"@radix-ui/react-aspect-ratio";var Ht=vi.Root;import{cva as ml}from"class-variance-authority";import*as Y from"@radix-ui/react-dialog";import{X as cl}from"lucide-react";import{Fragment as uo,jsx as s,jsxs as N}from"react/jsx-runtime";var dl=Y.Portal,pl=bi.forwardRef(({className:e,...t},o)=>s(Y.Overlay,{ref:o,className:a("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t})),fl=Y.Root,gl=()=>N(Y.Close,{className:"flex transition-all z-10 text-sm items-center space-x-1 absolute left-3 top-6 md:left-6 hover:bg-white/20 text-white rounded-md px-4 py-2",children:[s(cl,{className:"h-4 w-4 mt-0.5"}),s("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),ul=bi.forwardRef(({className:e,children:t,...o},i)=>N(dl,{children:[s(pl,{className:"bg-black"}),N(Y.Content,{ref:i,className:a("h-full min-w-full border-none rounded-none z-[999] fixed left-[50%] top-[50%] grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] ",e),...o,children:[t,s(gl,{})]})]})),hl=ml("max-w-md space-y-1 text-gray-800 font-semibold list-inside ",{variants:{template:{col:" flex-col flex mt-5",row:"grid grid-cols-3 items-center divide-x gap-2 mt-5 ",customize:"grid grid-cols-2 md:grid-cols-4 gap-12 max-w-5xl mx-auto font-semibold items-center py-12 text-left text-sm"}},defaultVariants:{template:"col"}}),rt=({title:e,className:t})=>s("h1",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-3xl md:text-4xl font-bold py-3 text-gray-900",t)}),nt=({tagName:e,className:t})=>s("div",{className:a("text-pink-500 font-bold text-sm tracking-wider ",t),children:e}),st=({description:e,className:t})=>s("div",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-lg text-gray-700 pb-2",t)}),we=({dataCtas:e,className:t})=>{let o=(r,n)=>{r.preventDefault(),r.stopPropagation(),n?.()},i=({cta:r,index:n})=>N(uo,{children:[s(E,{onClick:l=>r?.onClickCTA?.()&&o(l,r?.onClickCTA?.()),variant:r?.variant,className:a("md:block hidden",r?.variant!=="primary"&&"text-pink-500 hidden "),children:r?.content},n),s(E,{variant:r?.variant,className:a("md:hidden",r?.variant!=="primary"&&"text-pink-500"),children:s("a",{href:r?.url,target:"_blank",rel:"noreferrer",children:r?.content})},n)]});return s("div",{className:a("flex items-center mt-10",t,e?.length>1?"space-x-6":""),children:e?.map((r,n)=>r?.isQRCode?s(i,{cta:r,index:n},n):s(E,{onClick:l=>{r?.url||(l.stopPropagation(),l.preventDefault())},variant:r?.variant,className:a("",r?.variant!=="primary"&&"text-pink-500"),children:s("a",{href:r?.url,target:"_blank",rel:"noreferrer",children:r?.content})},n))})},vl=({template:e,title:t,label:o,icon:i,idx:r})=>s(uo,{children:(()=>{switch(e){case"col":return N("li",{className:"flex items-center pb-3",children:[s("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:s(ll,{className:"w-4 h-4 text-pink-500 "})}),s("div",{className:"ml-2",children:t})]});case"row":return N("div",{className:a("",r>0?"pl-4":""),children:[s("div",{className:"font-bold text-gray-900",children:t}),s("div",{className:"text-sm mt-1 text-gray-500",children:o})]});case"customize":return N("div",{className:"flex items-center space-x-4",children:[s("img",{src:i,alt:"",className:"shrink-0"}),s("div",{className:"text-gray-900 text-left",children:t})]});default:return null}})()}),lt=({dataFeatures:e})=>s("ul",{className:a("",hl({template:e?.type})),children:e?.contents?.map((t,o)=>s(vl,{title:t?.title,template:e?.type,label:t?.label,icon:t?.icon,idx:o},o))}),bl=({type:e=1,src:t,ratioImg:o,className:i,video:r,onClickFC:n=()=>{}})=>N(Ht,{className:a(""),ratio:o,children:[s("img",{src:t,className:a("w-full h-full object-cover md:block hidden",i,t?"":"bg-gray-200"),alt:""}),e!==_t&&r?.codeVideo&&s("div",{className:"aspect-[16/9] realtive overflow-hidden w-full",children:s("iframe",{title:r?.titleVideo,src:`https://www.youtube.com/embed/${r?.codeVideo}?controls=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full object-cover md:hidden"})}),e!==_t&&r?.codeVideo&&N(fl,{children:[s(Y.Trigger,{onClick:n,children:s("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:s("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:N("g",{fill:"none",fillRule:"evenodd",children:[s("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),s("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"})]})})})}),s(ul,{className:"w-full h-full flex items-center justify-center bg-gray-900 p-0",children:s("iframe",{width:738,height:439,title:r?.titleVideo,src:`https://www.youtube.com/embed/${r?.codeVideo}?autoplay=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:""})})]})]}),Pe=({type:e=1,url:t="",src:o,ratioImg:i,className:r,video:n,onClickFC:l=()=>{}})=>s("div",{children:e===_t&&!n?.codeVideo?s(Ht,{className:a(""),ratio:i,children:s("img",{src:o,className:a("w-full h-full object-cover",r,o?"":"bg-gray-200"),alt:""})}):s(bl,{type:e,url:t,src:o,ratioImg:i,video:n,onClickFC:l})}),xl=({data:e,dataCtas:t,dataFeatures:o})=>N("div",{className:a("grid grid-cols-1 md:grid-cols-2 md:gap-16 gap-4 items-center"),children:[N("div",{className:"col-span-1",children:[s(nt,{tagName:e?.tagName}),s(rt,{title:e?.title}),s(st,{description:e?.description}),s(lt,{dataFeatures:o}),s("div",{className:"md:block hidden",children:s(we,{dataCtas:t})})]}),N("div",{className:"col-span-1",children:[s(Pe,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,video:e?.media?.video}),s("div",{className:"block md:hidden flex items-center justify-center",children:s(we,{dataCtas:t})})]})]}),yl=({data:e,dataCtas:t,dataFeatures:o})=>N("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[s("div",{className:"col-span-1",children:s("div",{className:"hidden md:block",children:s(Pe,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})})}),N("div",{className:"col-span-1",children:[s(nt,{tagName:e?.tagName}),s(rt,{title:e?.title}),s(st,{description:e?.description}),s(lt,{dataFeatures:o}),s("div",{className:"md:hidden mt-10",children:s(Pe,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),s("div",{className:"w-full flex items-center justify-center md:justify-start",children:s(we,{dataCtas:t})})]})]}),wl=({data:e,dataCtas:t,dataFeatures:o})=>N("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[N("div",{className:"col-span-1",children:[s(nt,{tagName:e?.tagName}),s(rt,{title:e?.title}),s(st,{description:e?.description}),s(lt,{dataFeatures:o}),s("div",{className:"hidden md:block",children:s(we,{dataCtas:t})})]}),N("div",{className:"col-span-1",children:[s("div",{className:"hidden md:block",children:s(Pe,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),s("div",{className:"md:hidden",children:s(Pe,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),s("div",{className:"md:hidden block w-full flex items-center justify-center",children:s(we,{dataCtas:t})})]})]}),Pl=({data:e,dataCtas:t,dataFeatures:o})=>N("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[N("div",{className:"col-span-1",children:[s(nt,{tagName:e?.tagName}),s(rt,{title:e?.title}),s(st,{description:e?.description}),s(lt,{dataFeatures:o}),s("div",{className:"hidden md:block",children:s(we,{dataCtas:t})})]}),N("div",{className:"col-span-1",children:[s("div",{className:"hidden md:block",children:s(Pe,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"relative overflow-hidden -bottom-20"})}),s("div",{className:"md:hidden",children:s(Pe,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),s("div",{className:"md:hidden block w-full flex items-center justify-center",children:s(we,{dataCtas:t})})]})]}),Nl=({data:e,dataCtas:t,dataFeatures:o})=>N("div",{children:[s(nt,{tagName:e?.tagName,className:"max-w-4xl mx-auto text-center text-base leading-7 text-pink-500 font-bold"}),s(rt,{title:e?.title,className:"max-w-4xl mx-auto text-center font-manrope font-bold text-2xl text-gray-900 mb-5 md:text-4xl lg:text-5xl"}),s(st,{description:e?.description,className:"max-w-4xl mx-auto text-center text-base md:text-lg lg:text-xl font-normal leading-7 text-gray-700"}),s(we,{dataCtas:t,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center "}),s(lt,{dataFeatures:o}),s(Pe,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"rounded-lg"})]}),Cl=({template:e,data:t,dataCtas:o,dataFeatures:i})=>{switch(e){case 1:return s(xl,{data:t,dataCtas:o,dataFeatures:i});case 2:return s(yl,{data:t,dataCtas:o,dataFeatures:i});case 3:return s(wl,{data:t,dataCtas:o,dataFeatures:i});case 4:return s(Pl,{data:t,dataCtas:o,dataFeatures:i});case 5:return s(Nl,{data:t,dataCtas:o,dataFeatures:i});default:return null}},Rl=({template:e,data:t,dataCtas:o,dataFeatures:i})=>s(uo,{children:Cl({template:e,data:t,dataCtas:o,dataFeatures:i})}),Tl=sl(({template:e=1,className:t,data:o,dataCtas:i,dataFeatures:r},n)=>N("div",{ref:n,className:a(" bg-section-hero overflow-hidden py-20",t),children:[s("div",{className:"wrapper relative",children:s(Rl,{dataCtas:i||ui,template:e,data:o||gi,dataFeatures:r||hi})}),s("style",{children:`
217
- .bg-section-hero {
218
- background: var(
219
- --gradient-pink-1,
220
- linear-gradient(
221
- 38deg,
222
- rgba(255, 255, 255, 0) 78%,
223
- rgba(255, 255, 255, 0.69) 100%
224
- ),
225
- linear-gradient(45deg, #fff 10%, rgba(255, 255, 255, 0) 22%),
226
- linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 91%),
227
- linear-gradient(
228
- 214deg,
229
- rgba(255, 255, 255, 0) 0%,
230
- rgba(255, 91, 189, 0.2) 25%,
231
- rgba(255, 255, 255, 0) 71%
232
- ),
233
- linear-gradient(
234
- 212deg,
235
- rgba(255, 255, 255, 0) 51%,
236
- rgba(255, 196, 233, 0.7) 64%,
237
- rgba(255, 255, 255, 0) 80%
238
- ),
239
- #fff
240
- );
241
- }
242
- `})]}));import*as xi from"react";import*as se from"@radix-ui/react-slider";import{jsx as Bt,jsxs as kl}from"react/jsx-runtime";var yi=xi.forwardRef(({className:e,...t},o)=>kl(se.Root,{ref:o,className:a("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[Bt(se.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:Bt(se.Range,{className:"absolute h-full bg-pink-500"})}),Bt(se.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"}),Bt(se.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"})]}));yi.displayName=se.Root.displayName;import Il from"color";import Ll from"tailwindcss/plugin.js";var _="250ms",wi={".transition-all":{"transition-property":"all","transition-timing-function":"ease","transition-duration":_},".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":_},".transition":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transition-timing-function":"ease","transition-duration":_},".transition-colors":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":_},".transition-opacity":{"transition-property":"opacity","transition-timing-function":"ease","transition-duration":_},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":_},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":_},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":_},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":_},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":_},".transition-shadow":{"transition-property":"box-shadow","transition-timing-function":"ease","transition-duration":_},".transition-transform":{"transition-property":"transform","transition-timing-function":"ease","transition-duration":_},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":_},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":_},".transition-transform-colors":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":_},".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":_}};var Pi={".leading-inherit":{"line-height":"inherit"},".bg-img-inherit":{"background-image":"inherit"},".bg-clip-inherit":{"background-clip":"inherit"},".text-fill-inherit":{"-webkit-text-fill-color":"inherit"},".tap-highlight-transparent":{"-webkit-tap-highlight-color":"transparent"},"*":{"border-color":"rgb(var(--mobase-gray-300))"}};var Ni={".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 Ci={...Pi,...wi,...Ni};import{flatten as Dl}from"flat";function Sl(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 Ri=e=>Sl(Dl(e,{safe:!0,delimiter:"-"}));var Vt=16,Al=[.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,18],Ml=[20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],Ti=e=>{let t={xs:2,sm:3,md:4,lg:5.5,xl:9,"2xl":12,"3xl":20,"4xl":30,"5xl":56,"6xl":72,"7xl":96,"8xl":128,"9xl":160},o={0:"0px"};return Object.entries(t).forEach(([i,r])=>{o[i]=r?`${e*r/Vt}rem`:`${e/Vt}rem`}),Al.forEach(i=>{let r=`${i}`;if(r.includes(".")){let[n,l]=r.split(".");r=`${n}_${l}`}o[r]=`${e*i/Vt}rem`}),Ml.forEach(i=>{let r=`${i}`;o[r]=`${e*i/Vt}rem`}),o};var ki={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var Di={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var Si={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var Ai={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var Mi={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Ii={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var Li={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var Ei={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var _i={white:"#ffffff",black:"#000000",blue:ki,green:Di,pink:Si,purple:Ai,red:Mi,yellow:Ii,gray:Ei,orange:Li};var ho={..._i};var Hi={"spacing-unit":4,"disabled-opacity":.5,"font-size":{xxs:"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},radius:{sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem"},"z-index":{negative:"-1",workbench:"0",default:"1","workbench-header":"10",modal:"100","modal-content":"101",dropdown:"1000",tooltip:"10000",notification:"100000"},"box-shadow":{small:"0px 0px 5px 0px rgb(0 0 0 / 0.02), 0px 2px 10px 0px rgb(0 0 0 / 0.06), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",medium:"0px 0px 15px 0px rgb(0 0 0 / 0.03), 0px 2px 30px 0px rgb(0 0 0 / 0.08), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",large:"0px 0px 30px 0px rgb(0 0 0 / 0.04), 0px 30px 60px 0px rgb(0 0 0 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.3)"}};var Bi={animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","spin-loading":"spin 1s steps(12, end) infinite","fade-in":"fade-in 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"fade-in":{"0%":{opacity:"0"},"100%":{opacity:"1"}}}};function Vi(e){return{xxs:[`var(--${e}-font-size-xxs)`,{lineHeight:"1rem"}],xs:[`var(--${e}-font-size-xs)`,{lineHeight:"1rem"}],sm:[`var(--${e}-font-size-sm)`,{lineHeight:"1.25rem"}],base:[`var(--${e}-font-size-base)`,{lineHeight:"1.5rem"}],lg:[`var(--${e}-font-size-lg)`,{lineHeight:"1.75rem"}],xl:[`var(--${e}-font-size-xl)`,{lineHeight:"1.75rem"}],"2xl":[`var(--${e}-font-size-2xl)`,{lineHeight:"2rem"}],"3xl":[`var(--${e}-font-size-3xl)`,{lineHeight:"2.25rem"}],"4xl":[`var(--${e}-font-size-4xl)`,{lineHeight:"2.5rem"}],"5xl":[`var(--${e}-font-size-5xl)`,{lineHeight:"3.5rem",letterSpacing:"-0.075rem"}],"6xl":[`var(--${e}-font-size-6xl)`,{lineHeight:"4.5rem",letterSpacing:"-0.09375rem"}],"7xl":[`var(--${e}-font-size-7xl)`,{lineHeight:"5rem",letterSpacing:"-0.1125rem"}],"8xl":[`var(--${e}-font-size-8xl)`,{lineHeight:"6.5rem",letterSpacing:"-0.15rem"}],"9xl":[`var(--${e}-font-size-9xl)`,{lineHeight:"8rem",letterSpacing:"-0.2rem"}]}}function zi(e){return{sm:`var(--${e}-radius-sm)`,DEFAULT:`var(--${e}-radius-base)`,md:`var(--${e}-radius-md)`,lg:`var(--${e}-radius-lg)`,xl:`var(--${e}-radius-xl)`,"2xl":`var(--${e}-radius-2xl)`,"3xl":`var(--${e}-radius-3xl)`}}var El=e=>{let t={utilities:{},colors:{}},o=Ri(ho),i=Hi,r=":root";return t.utilities[r]={},Object.entries(o).forEach(([n,l])=>{if(l)try{let[c,d,g]=Il(l).rgb().array(),p=`--${e}-${n}`;t.utilities[r][p]=`${c} ${d} ${g}`,t.colors[n]=`rgb(var(${p}) / <alpha-value>)`}catch(c){console.log("error",c?.message)}}),Object.entries(i).forEach(([n,l])=>{if(!l)return;let c=`--${e}-${n}`;if(typeof l=="object")Object.entries(l).forEach(([d,g])=>{let p=`${c}-${d}`;t.utilities[r][p]=g});else if(n==="spacing-unit"){t.utilities[r][c]=l;let d=Ti(Number(l));Object.entries(d).forEach(([g,p])=>{let k=`${c}-${g}`;t.utilities[r][k]=p})}else{let d=c.includes("opacity")&&typeof l=="number"?l.toString().replace(/^0\./,"."):l;t.utilities[r][c]=d}}),t},_l=()=>{let e="mobase",t=El(e);return Ll(({addBase:o,addUtilities:i,addComponents:r})=>{r({".wrapper":{maxWidth:"72rem",paddingLeft:"1.25rem",paddingRight:"1.25rem",marginLeft:"auto",marginRight:"auto","@media (min-width: 768px)":{paddingLeft:"2rem",paddingRight:"2rem"}}}),o({":root":{"font-smooth--webkit":"antialiased"},...t?.utilities}),i({...Ci})},{theme:{container:{center:!0},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},extend:{fontFamily:{sans:["-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"],mono:["SFMono-Regular","Consolas","Liberation Mono","Menlo","monospace"]},colors:{...ho,...t?.colors,border:"rgba(var(--border))"},boxShadow:{small:`var(--${e}-box-shadow-small)`,medium:`var(--${e}-box-shadow-medium)`,large:`var(--${e}-box-shadow-large)`},zIndex:{negative:`var(--${e}-z-index-negative)`,workbench:`var(--${e}-z-index-workbench)`,default:`var(--${e}-z-index-default)`,"workbench-header":`var(--${e}-z-index-workbench-header)`,modal:`var(--${e}-z-index-modal)`,"modal-content":`var(--${e}-z-index-modal-content)`,dropdown:`var(--${e}-z-index-dropdown)`,tooltip:`var(--${e}-z-index-tooltip)`,notification:`var(--${e}-z-index-notification)`},borderRadius:{...zi(e)},fontSize:{...Vi(e)},...Bi}}})};import{Fragment as Bl,jsx as x,jsxs as Vl}from"react/jsx-runtime";var Hl=Vl(Bl,{children:[x("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"}),x("meta",{name:"distribution",content:"Global"}),x("meta",{name:"author",content:"V\xED MoMo"}),x("meta",{property:"fb:app_id",content:"320653355376196"}),x("meta",{property:"fb:pages",content:"138010322921640"}),x("link",{rel:"shortcut icon",href:"/favicon.ico"}),x("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),x("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),x("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),x("meta",{name:"language",content:"vietnamese"}),x("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),x("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),x("meta",{name:"RATING",content:"GENERAL"}),x("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),x("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),x("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),x("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),x("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),x("link",{rel:"dns-prefetch",href:"//facebook.com"}),x("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),x("link",{rel:"dns-prefetch",href:"//www.google.com"}),x("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),x("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),x("link",{rel:"preconnect",href:"//connect.facebook.net"}),x("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),x("link",{rel:"preconnect",href:"//www.google-analytics.com"}),x("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),x("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),x("link",{rel:"preconnect",href:"//www.google.com"}),x("link",{rel:"preconnect",href:"//www.google.com.vn"}),x("link",{rel:"preconnect",href:"//www.googleadservices.com"}),x("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
216
+ `})]}),t&&P("div",{className:i("hidden md:flex overflow-y-auto bg-white text-gray-900 px-6 pb-4 pt-2 w-full max-w-sm lg:max-w-md",r),children:a})]})},wl=({children:e,className:o,open:t,onOpenChange:a})=>P("div",{className:i("lightbox-gallery ",o),children:P(pl,{open:t,onOpenChange:a,children:Ve.Children?.map(e,r=>{if(Ve.isValidElement(r)){let n={},s=Object.keys(n).reduce((c,d)=>(n[d]!==void 0&&(c[d]=n[d]),c),{});return Ve.cloneElement(r,s)}return null})})});import*as Te from"react";import*as ke from"@radix-ui/react-radio-group";import{Circle as Nl}from"lucide-react";import*as ut from"@radix-ui/react-checkbox";import{CheckIcon as Pl}from"@heroicons/react/16/solid";import{jsx as de,jsxs as ki}from"react/jsx-runtime";var Pi=Te.createContext({hideIndicator:!1});function Cl(){let e=Te.useContext(Pi);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var Ci=Te.forwardRef(({className:e,hideIndicator:o=!1,...t},a)=>de(Pi.Provider,{value:{hideIndicator:o},children:de(ke.Root,{className:i("grid gap-2",o&&"hide-indicator",e),...t,ref:a})}));Ci.displayName=ke.Root.displayName;var Ri=Te.forwardRef(({className:e,children:o,...t},a)=>{let r=Cl(),{hideIndicator:n}=r??{};return ki(ke.Item,{ref:a,className:i("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),...t,children:[de("div",{className:"flex-1 min-w-0",children:o}),!n&&de("div",{className:i("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:de(ke.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:de(Nl,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});Ri.displayName=ke.Item.displayName;var Ti=Te.forwardRef(({className:e,children:o,...t},a)=>ki(ut.Root,{ref:a,className:i("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),...t,children:[de("div",{className:"flex-1 min-w-0",children:o}),de("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:de(ut.Indicator,{className:i("flex items-center justify-center text-current"),children:de(Pl,{className:"h-4 w-4"})})})]}));Ti.displayName=ut.Root.displayName;import{cva as Rl}from"class-variance-authority";import{jsx as kl}from"react/jsx-runtime";var Si=Rl("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 Tl({className:e,variant:o,...t}){return kl("div",{className:i(Si({variant:o}),e),...t})}import*as Ai from"react";import*as vt from"@radix-ui/react-progress";import{cva as Mi}from"class-variance-authority";import{jsx as Di}from"react/jsx-runtime";var Sl=Mi("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"}}),Dl=Mi("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"}}),Li=Ai.forwardRef(({className:e,value:o,variant:t="progress",size:a="medium",disabled:r=!1,...n},s)=>Di(vt.Root,{ref:s,className:i("",Dl({size:a}),e),...n,children:Di(vt.Indicator,{className:i("",Sl({variant:t})),style:{transform:`translateX(-${100-(o||0)}%)`}})}));Li.displayName=vt.Root.displayName;import{forwardRef as Fl}from"react";import{CheckIcon as Al}from"@heroicons/react/24/outline";import{cva as Ml}from"class-variance-authority";import Ii from"html-react-parser";import{Fragment as Il,jsx as Se,jsxs as bt}from"react/jsx-runtime";var Ll=Ml("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}}),Ei=({template:e,name:o,description:t,image:a,idx:r,value:n,suffix:s,unit:c})=>Se(Il,{children:(()=>{switch(e){case 1:case 3:return bt("li",{className:"flex items-center space-x-4",children:[a?Se("img",{src:a,alt:"",className:"shrink-0"}):Se("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:Se(Al,{className:"w-4 h-4 text-pink-500 "})}),o&&Se("div",{className:"ml-2 leading-tight",children:Ii(o)})]});case 2:return bt("div",{className:i("odd:border-0 odd:pr-4 even:pl-4 even:border-l border-gray-100 md:border-l md:odd:border-l md:odd:pr-0",r>0?"md:pl-4":"md:!border-0"),children:[n&&bt("div",{className:"font-bold text-gray-900 line-clamp-2",children:[n,(s||c)&&bt("span",{children:[s," ",c]})]}),t&&Se("div",{className:"text-sm mt-1 text-gray-500 leading-tight",children:Ii(t)})]});default:return null}})()}),jt=({dataFeatures:e,template:o=1,dataStats:t})=>bt("ul",{className:i("",Ll({template:o})),children:[(o===1||o===3)&&e?.map((a,r)=>Se(Ei,{name:a?.name,template:o,image:a?.image,idx:r},r)),o===2&&t?.map((a,r)=>Se(Ei,{value:a?.value,suffix:a?.suffix,unit:a?.unit,template:o,description:a?.description,idx:r},r))]});import*as _i from"@radix-ui/react-aspect-ratio";var Je=_i.Root;import{Fragment as _l,jsx as q,jsxs as Ao}from"react/jsx-runtime";var El=({src:e,ratio:o,className:t,youtubeId:a,onClickFC:r=()=>{}})=>Ao(Je,{className:i(""),ratio:o,children:[q("img",{src:e,className:i("w-full h-full object-cover md:block hidden",t,e?"":"bg-gray-200"),alt:""}),a&&q("div",{className:"aspect-[16/9] realtive overflow-hidden w-full md:hidden",children:q("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&&Ao(Le,{children:[q(Yt,{onClick:r,children:q("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:q("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:Ao("g",{fill:"none",fillRule:"evenodd",children:[q("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),q("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"})]})})})}),q(we,{hideCloseBtn:!0,className:"w-full h-full !shadow-none !bg-transparent flex items-center justify-center bg-gray-900 p-0",children:q("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:""})})]})]}),ht=({type:e=1,src:o,ratio:t,className:a,youtubeId:r,onClickFC:n=()=>{}})=>q(_l,{children:r?q(El,{type:e,src:o,ratio:t,youtubeId:r,onClickFC:n}):q(Je,{className:i(""),ratio:t,children:q("img",{src:o,className:i("w-full h-full object-cover",a,o?"":"bg-gray-200"),alt:""})})});import Mo from"html-react-parser";import{jsx as Oe,jsxs as Hl}from"react/jsx-runtime";var et=({idSection:e,className:o,background:t,children:a})=>Oe("section",{id:e,className:i("feature-section py-8 md:py-10 lg:py-14",o),style:{background:t},children:Oe("div",{className:"wrapper relative",children:a})}),_=({align:e="center",tagline:o,title:t,description:a,tagHeading:r="h2",colorScheme:n="regular",sizeHeading:s="small",className:c})=>{let d=n==="regular"?"pink":n==="pink"?"regular":"white",f=n==="pink"?"pink":n==="white"?"white":"regular",p=n==="white"?"white":"regular";return Hl(mo,{align:e,className:c,children:[o&&Oe(no,{color:d,children:o}),t&&Oe(so,{tagHeading:r,color:f,size:s,children:Mo(t)}),a&&Oe(lo,{color:p,marginTop:s==="large"?"spacing2Xl":"spacingX",children:Mo(a)})]})},tt=({align:e,isFullInMobile:o=!1,buttons:t,className:a})=>t?.length===0?null:Oe("div",{className:i("buttons-block mt-8 md:mt-10 flex gap-4 w-full",e==="center"&&"justify-center",e==="right"&&"justify-end",o&&"flex-wrap md:flex-nowrap",a),children:t?.slice(0,2).map((r,n)=>{let{btnName:s,...c}=r;return Oe(to,{...c,className:i(o&&"w-full md:w-auto",r?.className),children:Mo(s)},n)})});import{Fragment as Bl,jsx as H,jsxs as xt}from"react/jsx-runtime";var Lo=({dataHeading:e,dataButtons:o,dataFeatures:t,template:a,dataStats:r,dataMedia:n})=>xt("div",{className:i("grid grid-cols-1 md:grid-cols-2 md:gap-6 gap-8 items-center"),children:[xt("div",{className:"col-span-1 ",children:[H(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align||"left",sizeHeading:e?.sizeHeading,className:`${e?.className} mb-0 md:mb-0`}),H(jt,{dataFeatures:t,template:a,dataStats:r}),o&&H(tt,{align:o?.align,isFullInMobile:o?.isFullInMobile,buttons:o?.buttons})]}),H("div",{className:"col-span-1 md:pl-10",children:H(ht,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})]}),Hi=({dataHeading:e,dataButtons:o,dataFeatures:t,template:a,dataStats:r,dataMedia:n})=>xt("div",{className:i("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[H("div",{className:"col-span-1",children:H("div",{className:"hidden md:block",children:H(ht,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})}),xt("div",{className:"col-span-1",children:[H(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align||"left",sizeHeading:e?.sizeHeading,className:e?.className}),H(jt,{dataFeatures:t,template:a,dataStats:r}),H("div",{className:"md:hidden mt-10",children:H(ht,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),o&&H("div",{className:"w-full flex items-center justify-center md:justify-start",children:H(tt,{align:o?.align,isFullInMobile:o?.isFullInMobile,buttons:o?.buttons})})]})]}),Bi=({dataHeading:e,dataButtons:o,dataFeatures:t,template:a,dataStats:r,dataMedia:n})=>xt(Bl,{children:[H(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:e?.align,sizeHeading:e?.sizeHeading,className:`${e?.className||""} mb-0 md:mb-0`}),o&&H(tt,{align:o?.align,isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center"}),H(jt,{dataFeatures:t,template:a,dataStats:r}),H(ht,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId,className:"rounded-lg"})]});import{Fragment as Gl,jsx as We}from"react/jsx-runtime";var zl=`var(
217
+ --gradient-pink-1,
218
+ linear-gradient(
219
+ 38deg,
220
+ rgba(255, 255, 255, 0) 78%,
221
+ rgba(255, 255, 255, 0.69) 100%
222
+ ),
223
+ linear-gradient(45deg, #fff 10%, rgba(255, 255, 255, 0) 22%),
224
+ linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 91%),
225
+ linear-gradient(
226
+ 214deg,
227
+ rgba(255, 255, 255, 0) 0%,
228
+ rgba(255, 91, 189, 0.2) 25%,
229
+ rgba(255, 255, 255, 0) 71%
230
+ ),
231
+ linear-gradient(
232
+ 212deg,
233
+ rgba(255, 255, 255, 0) 51%,
234
+ rgba(255, 196, 233, 0.7) 64%,
235
+ rgba(255, 255, 255, 0) 80%
236
+ ),
237
+ #fff
238
+ )`,Vl=({template:e,dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,dataMedia:n})=>{switch(e){case 1:return We(Lo,{dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,template:e,dataMedia:n});case 2:return We(Hi,{dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,template:e,dataMedia:n});case 3:return We(Bi,{dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,template:e,dataMedia:n});default:return We(Lo,{dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,template:e,dataMedia:n})}},Ol=({template:e,dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,dataMedia:n})=>We(Gl,{children:Vl({template:e,dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,dataMedia:n})}),Wl=Fl(({template:e,dataHeading:o,dataButtons:t,dataFeatures:a,dataStats:r,dataMedia:n,className:s,background:c})=>We(et,{className:i(s),background:c??zl,children:We(Ol,{dataButtons:t,template:e,dataHeading:o,dataFeatures:a,dataStats:r,dataMedia:n})}));import L from"html-react-parser";import{ChevronRightIcon as $l}from"@heroicons/react/16/solid";import{Fragment as De,jsx as l,jsxs as g}from"react/jsx-runtime";var pe=({btnLink:e,btnName:o,newTab:t})=>l(Qe,{variant:"primary",asChild:!0,children:g("a",{href:e,target:t?"_blank":"_self",rel:"noreferrer",children:[o||"Xem chi ti\u1EBFt",l($l,{className:"w-4 h-4"})]})}),Io=({dataHeading:e,dataFeatures:o})=>g(De,{children:[e&&l(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:o?.map((t,a)=>g("div",{className:"feature-item relative w-full text-center flex flex-col",children:[l("div",{className:"w-16 h-16 mx-auto",children:l("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex-1",children:[g("div",{className:"flex-1",children:[t?.name&&l("h3",{className:"text-lg font-semibold",children:L(t.name)}),t?.description&&l("div",{className:"text-gray-600 mt-2 text-base",children:L(t.description)})]}),t?.btnLink&&l("div",{className:"mt-4",children:l(pe,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]})]},a))})]}),Fi=({dataHeading:e,dataFeatures:o})=>g(De,{children:[e&&l(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:o?.map((t,a)=>g("div",{className:"feature-item p-5 overflow-hidden border border-gray-200 rounded-md relative w-full flex flex-col",style:{background:"linear-gradient(180deg, #FAFAFA 0%, rgba(250, 250, 250, 0) 91%);"},children:[l("div",{className:"w-16 h-16",children:l("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[t?.name&&l("h3",{className:"text-lg font-semibold",children:L(t.name)}),t?.description&&l("div",{className:"text-gray-600 mt-2 text-base",children:L(t.description)})]}),t?.btnLink&&l("div",{className:"mt-4",children:l(pe,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]})]},a))})]}),zi=({dataHeading:e,dataFeatures:o})=>g(De,{children:[e&&l(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:o?.map((t,a)=>g("div",{className:"feature-item relative w-full flex flex-col",children:[l("div",{className:"w-16 h-16",children:l("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex-1",children:[g("div",{className:"flex-1",children:[t?.name&&l("h3",{className:"text-lg font-semibold",children:L(t.name)}),t?.description&&l("div",{className:"text-gray-600 mt-2 text-base",children:L(t.description)})]}),t?.btnLink&&l("div",{className:"mt-4",children:l(pe,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]})]},a))})]}),Vi=({dataHeading:e,dataFeatures:o})=>g("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-0 lg:gap-12",children:[e&&l(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:i("lg:col-span-4 lg:flex lg:flex-col lg:justify-center",e?.className)}),o&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-5 lg:col-span-6",children:o?.map((t,a)=>g("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-5 bg-white",children:[l("div",{className:"w-16 h-16",children:l("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[t?.name&&l("h3",{className:"text-lg font-semibold",children:L(t.name)}),t?.description&&l("div",{className:"text-gray-600 mt-2 text-base",children:L(t.description)})]}),t?.btnLink&&l("div",{className:"mt-4",children:l(pe,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]})]},a))})]}),Oi=({dataHeading:e,dataFeatures:o})=>g(De,{children:[e&&l(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-5 max-w-4xl mx-auto",children:o?.map((t,a)=>g("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-7 bg-white",children:[l("div",{className:"w-12 h-12 ",children:l("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[t?.name&&l("h3",{className:"text-lg font-semibold",children:L(t.name)}),t?.description&&l("div",{className:"text-gray-600 mt-2 text-base",children:L(t.description)})]}),t?.btnLink&&l("div",{className:"mt-4",children:l(pe,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]})]},a))})]}),Wi=({dataHeading:e,dataFeatures:o})=>g(De,{children:[e&&l(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&l("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:o?.map((t,a)=>g("div",{className:"feature-item relative w-full",children:[l("div",{className:"w-12 h-12",children:l("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[t?.name&&l("h3",{className:"text-lg font-semibold",children:L(t.name)}),t?.description&&l("div",{className:"text-gray-500 mt-2 text-sm",children:L(t.description)})]}),t?.btnLink&&l("div",{className:"mt-4",children:l(pe,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]})]},a))})]}),Gi=({dataHeading:e,dataFeatures:o})=>g(De,{children:[e&&l(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&l("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:o?.map((t,a)=>g("div",{className:"feature-item relative w-full flex gap-3",children:[l("div",{className:"w-12 h-12",children:l("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full flex-1",children:[t?.name&&l("h3",{className:"text-lg font-semibold",children:L(t.name)}),t?.description&&l("div",{className:"text-gray-500 mt-2 text-sm",children:L(t.description)}),t?.btnLink&&l("div",{className:"mt-4",children:l(pe,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]})]},a))})]}),$i=({dataHeading:e,dataFeatures:o})=>g(De,{children:[e&&l(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-6",children:o?.map((t,a)=>g("div",{className:"feature-item relative w-full flex flex-col overflow-hidden bg-gray-100 rounded-xl",children:[g("div",{className:"w-full flex flex-1 flex-col p-5",children:[g("div",{className:"flex-1",children:[t?.name&&l("h3",{className:"text-lg font-semibold",children:L(t.name)}),t?.description&&l("div",{className:"text-gray-600 mt-2 text-base",children:L(t.description)})]}),t?.btnLink&&l("div",{className:"mt-4",children:l(pe,{btnLink:t.btnLink,btnName:t?.btnName,newTab:t?.newTab})})]}),l("div",{className:"w-full",style:{aspectRatio:"347/220"},children:l("img",{src:t?.image,alt:t?.name,className:"w-full h-full object-contain"})})]},a))})]}),ji=({dataHeading:e,dataFeatures:o,dataButtons:t,dataBanner:a})=>g("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-10 lg:gap-14",children:[l("div",{className:"lg:col-span-6 flex items-center",children:g("div",{className:"w-full",children:[e&&l(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align||"left",colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&l("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:auto-cols-auto",children:o?.map((r,n)=>g("div",{className:"feature-item relative w-full flex flex-col",children:[l("div",{className:"w-10 h-10",children:l("img",{src:r?.image,alt:r?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[r?.name&&l("h3",{className:"text-lg font-semibold",children:L(r.name)}),r?.description&&l("div",{className:"text-gray-600 mt-2 text-base",children:L(r.description)})]}),r?.btnLink&&l("div",{className:"mt-4",children:l(pe,{btnLink:r.btnLink,btnName:r?.btnName,newTab:r?.newTab})})]})]},n))}),t&&l(tt,{isFullInMobile:t?.isFullInMobile,buttons:t?.buttons,className:t?.className,align:t?.align||"left"})]})}),a&&l("div",{className:"lg:col-span-4 flex items-center",children:l(Je,{ratio:a?.ratio||1,className:"w-full",children:l("img",{src:a?.src,alt:a?.alt,loading:"lazy",className:"h-full w-full object-cover"})})})]}),qi=({dataHeading:e,dataFeatures:o,dataBanner:t})=>g(De,{children:[e&&l(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),l("div",{className:i("relative flex items-center",t&&"lg:min-h-[577px]"),children:o&&g("div",{className:i("list-features grid grid-cols-1 md:grid-cols-2 gap-8",t?"lg:gap-y-16 lg:gap-x-0 lg:flex-wrap lg:flex lg:flex-row":"max-w-4xl mx-auto"),children:[o?.map((a,r)=>g("div",{className:i("feature-item relative w-full",t&&"lg:basis-1/2 odd:lg:pr-48 even:lg:pl-48"),children:[l("div",{className:"w-12 h-12",children:l("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&l("h3",{className:"text-lg font-semibold",children:L(a.name)}),a?.description&&l("div",{className:"text-gray-500 mt-2",children:L(a.description)})]}),a?.btnLink&&l("div",{className:"mt-4",children:l(pe,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},r)),t&&g("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:[l("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"}}),l("div",{className:"w-full h-full bg-gray-100 overflow-hidden",style:{borderRadius:"30px"},children:l("img",{src:t?.src,alt:t?.alt,className:"w-full h-full object-contain"})})]})]})})]});import{Fragment as Ql,jsx as U}from"react/jsx-runtime";var jl=({template:e,dataHeading:o,dataFeatures:t,dataButtons:a,dataBanner:r})=>{switch(e){case 1:return U(Io,{dataHeading:o,dataFeatures:t});case 2:return U(Fi,{dataHeading:o,dataFeatures:t});case 3:return U(zi,{dataHeading:o,dataFeatures:t});case 4:return U(Vi,{dataHeading:o,dataFeatures:t});case 5:return U(Oi,{dataHeading:o,dataFeatures:t});case 6:return U(Wi,{dataHeading:o,dataFeatures:t});case 7:return U(Gi,{dataHeading:o,dataFeatures:t});case 8:return U($i,{dataHeading:o,dataFeatures:t});case 9:return U(ji,{dataHeading:o,dataFeatures:t,dataButtons:a,dataBanner:r});case 10:return U(qi,{dataHeading:o,dataFeatures:t,dataBanner:r});default:return U(Io,{dataHeading:o,dataFeatures:t})}},ql=({template:e,dataHeading:o,dataFeatures:t,dataButtons:a,dataBanner:r})=>U(Ql,{children:jl({template:e,dataHeading:o,dataFeatures:t,dataButtons:a,dataBanner:r})}),Ul=({template:e=1,background:o,className:t,idSection:a,dataHeading:r,dataFeatures:n,dataButtons:s,dataBanner:c})=>U(et,{className:t,idSection:a,background:o,children:U(ql,{template:e,dataHeading:r,dataFeatures:n,dataButtons:s,dataBanner:c})});import*as Ui from"react";import*as ge from"@radix-ui/react-slider";import{jsx as qt,jsxs as Xl}from"react/jsx-runtime";var Qi=Ui.forwardRef(({className:e,...o},t)=>Xl(ge.Root,{ref:t,className:i("relative flex w-full touch-none select-none items-center",o?.disabled&&"opacity-40",e),...o,children:[qt(ge.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:qt(ge.Range,{className:"absolute h-full bg-pink-500"})}),qt(ge.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"}),qt(ge.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"})]}));Qi.displayName=ge.Root.displayName;import{Fragment as Eo,jsx as k,jsxs as Zi}from"react/jsx-runtime";var Xi=({dataHeading:e,dataBrands:o,isScrollSnap:t})=>Zi(Eo,{children:[e&&k(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&o?.length>0&&k("div",{className:i("list-brands flex flex-row md:gap-x-10 gap-y-6 md:flex-wrap md:justify-center overflow-hidden overflow-x-auto py-2",t?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3":"flex-wrap justify-center"),children:o?.map((a,r)=>k("div",{className:i("flex justify-center items-center md:px-0 px-2.5 md:basis-auto",t?"snap-center shrink-0 first:pl-5 last:pr-5 basis-[28.5%]":"basis-1/2"),children:k("div",{className:"w-auto max-w-36 flex justify-center items-center",children:a?.url?k("a",{href:a?.url,title:a?.name,target:a?.newTab?"_blank":"_self",className:"group",children:k("img",{src:a?.logo,loading:"lazy",alt:a?.name,className:"object-contain transition transform group-hover:scale-105"})}):k("img",{src:a?.logo,loading:"lazy",alt:a?.name,className:"object-contain"})})},r))})]}),Zl=({dataHeading:e,dataBrands:o,isScrollSnap:t})=>Zi(Eo,{children:[e&&k(_,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:e?.align,colorScheme:"pink",sizeHeading:e?.sizeHeading,className:e?.className}),o&&o?.length>0&&k("div",{className:i("list-brands md:grid-cols-4 md:gap-y-6 md:gap-x-7",t?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3 flex md:grid overflow-hidden overflow-x-auto md:mx-0":"grid grid-cols-2 gap-x-4 gap-y-6"),children:o?.map((a,r)=>k("div",{className:i("flex justify-center items-center text-center",t?"snap-center shrink-0 first:pl-5 last:pr-5 md:first:pl-0 md:last:pr-0 basis-5/12 px-2 md:px-0":""),children:a?.url?k("a",{href:a?.url,title:a?.name,target:a?.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:k("div",{className:"w-auto max-w-36 flex justify-center items-center",children:k("img",{src:a?.logo,loading:"lazy",alt:a?.name,className:"object-contain"})})}):k("div",{className:"flex justify-center items-center rounded-md border border-gray-200 w-full h-full p-3",children:k("div",{className:"w-auto max-w-36 flex justify-center items-center",children:k("img",{src:a?.logo,loading:"lazy",alt:a?.name,className:"object-contain"})})})},r))})]}),Kl=({template:e,dataHeading:o,dataBrands:t,isScrollSnap:a})=>{switch(e){case 1:return k(Xi,{dataHeading:o,dataBrands:t,isScrollSnap:a});case 2:return k(Zl,{dataHeading:o,dataBrands:t,isScrollSnap:a});default:return k(Xi,{dataHeading:o,dataBrands:t,isScrollSnap:a})}},Yl=({template:e,dataHeading:o,dataBrands:t,isScrollSnap:a})=>k(Eo,{children:Kl({template:e,dataHeading:o,dataBrands:t,isScrollSnap:a})}),Jl=({template:e=1,background:o,className:t,idSection:a,dataHeading:r,dataBrands:n,isScrollSnap:s})=>k(et,{className:t,idSection:a,background:o,children:k(Yl,{template:e,dataHeading:r,dataBrands:n,isScrollSnap:s})});import im from"color";import rm from"tailwindcss/plugin.js";var F="250ms",Ki={".transition-all":{"transition-property":"all","transition-timing-function":"ease","transition-duration":F},".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":F},".transition":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter","transition-timing-function":"ease","transition-duration":F},".transition-colors":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":F},".transition-opacity":{"transition-property":"opacity","transition-timing-function":"ease","transition-duration":F},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":F},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":F},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":F},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":F},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":F},".transition-shadow":{"transition-property":"box-shadow","transition-timing-function":"ease","transition-duration":F},".transition-transform":{"transition-property":"transform","transition-timing-function":"ease","transition-duration":F},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":F},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":F},".transition-transform-colors":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":F},".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":F}};var Yi={".leading-inherit":{"line-height":"inherit"},".bg-img-inherit":{"background-image":"inherit"},".bg-clip-inherit":{"background-clip":"inherit"},".text-fill-inherit":{"-webkit-text-fill-color":"inherit"},".tap-highlight-transparent":{"-webkit-tap-highlight-color":"transparent"},"*":{"border-color":"rgb(var(--mobase-gray-300))"}};var Ji={".scrollbar-hide":{"-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"}},".scrollbar-default":{"-ms-overflow-style":"auto","scrollbar-width":"auto","&::-webkit-scrollbar":{display:"block"}}};var er={...Yi,...Ki,...Ji};import{flatten as em}from"flat";function tm(e){let o={};for(let t in e){if(t.endsWith("-DEFAULT")){o[t.replace("-DEFAULT","")]=e[t];continue}o[t]=e[t]}return o}var tr=e=>tm(em(e,{safe:!0,delimiter:"-"}));var Ut=16,om=[.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,18],am=[20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],or=e=>{let o={xs:2,sm:3,md:4,lg:5.5,xl:9,"2xl":12,"3xl":20,"4xl":30,"5xl":56,"6xl":72,"7xl":96,"8xl":128,"9xl":160},t={0:"0px"};return Object.entries(o).forEach(([a,r])=>{t[a]=r?`${e*r/Ut}rem`:`${e/Ut}rem`}),om.forEach(a=>{let r=`${a}`;if(r.includes(".")){let[n,s]=r.split(".");r=`${n}_${s}`}t[r]=`${e*a/Ut}rem`}),am.forEach(a=>{let r=`${a}`;t[r]=`${e*a/Ut}rem`}),t};var ar={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var ir={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var rr={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var nr={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var sr={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var lr={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var mr={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var cr={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var dr={white:"#ffffff",black:"#000000",blue:ar,green:ir,pink:rr,purple:nr,red:sr,yellow:lr,gray:cr,orange:mr};var _o={...dr};var pr={"spacing-unit":4,"disabled-opacity":.5,"font-size":{xxs:"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},radius:{sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem"},"z-index":{negative:"-1",workbench:"0",default:"1","workbench-header":"10",modal:"100","modal-content":"101",dropdown:"1000",tooltip:"10000",notification:"100000"},"box-shadow":{small:"0px 0px 5px 0px rgb(0 0 0 / 0.02), 0px 2px 10px 0px rgb(0 0 0 / 0.06), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",medium:"0px 0px 15px 0px rgb(0 0 0 / 0.03), 0px 2px 30px 0px rgb(0 0 0 / 0.08), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",large:"0px 0px 30px 0px rgb(0 0 0 / 0.04), 0px 30px 60px 0px rgb(0 0 0 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.3)"}};var gr={animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","spin-loading":"spin 1s steps(12, end) infinite","fade-in":"fade-in 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"fade-in":{"0%":{opacity:"0"},"100%":{opacity:"1"}}}};function fr(e){return{xxs:[`var(--${e}-font-size-xxs)`,{lineHeight:"1rem"}],xs:[`var(--${e}-font-size-xs)`,{lineHeight:"1rem"}],sm:[`var(--${e}-font-size-sm)`,{lineHeight:"1.25rem"}],base:[`var(--${e}-font-size-base)`,{lineHeight:"1.5rem"}],lg:[`var(--${e}-font-size-lg)`,{lineHeight:"1.75rem"}],xl:[`var(--${e}-font-size-xl)`,{lineHeight:"1.75rem"}],"2xl":[`var(--${e}-font-size-2xl)`,{lineHeight:"2rem"}],"3xl":[`var(--${e}-font-size-3xl)`,{lineHeight:"2.25rem"}],"4xl":[`var(--${e}-font-size-4xl)`,{lineHeight:"2.5rem"}],"5xl":[`var(--${e}-font-size-5xl)`,{lineHeight:"3.5rem",letterSpacing:"-0.075rem"}],"6xl":[`var(--${e}-font-size-6xl)`,{lineHeight:"4.5rem",letterSpacing:"-0.09375rem"}],"7xl":[`var(--${e}-font-size-7xl)`,{lineHeight:"5rem",letterSpacing:"-0.1125rem"}],"8xl":[`var(--${e}-font-size-8xl)`,{lineHeight:"6.5rem",letterSpacing:"-0.15rem"}],"9xl":[`var(--${e}-font-size-9xl)`,{lineHeight:"8rem",letterSpacing:"-0.2rem"}]}}function ur(e){return{sm:`var(--${e}-radius-sm)`,DEFAULT:`var(--${e}-radius-base)`,md:`var(--${e}-radius-md)`,lg:`var(--${e}-radius-lg)`,xl:`var(--${e}-radius-xl)`,"2xl":`var(--${e}-radius-2xl)`,"3xl":`var(--${e}-radius-3xl)`}}var nm=e=>{let o={utilities:{},colors:{}},t=tr(_o),a=pr,r=":root";return o.utilities[r]={},Object.entries(t).forEach(([n,s])=>{if(s)try{let[c,d,f]=im(s).rgb().array(),p=`--${e}-${n}`;o.utilities[r][p]=`${c} ${d} ${f}`,o.colors[n]=`rgb(var(${p}) / <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,f])=>{let p=`${c}-${d}`;o.utilities[r][p]=f});else if(n==="spacing-unit"){o.utilities[r][c]=s;let d=or(Number(s));Object.entries(d).forEach(([f,p])=>{let S=`${c}-${f}`;o.utilities[r][S]=p})}else{let d=c.includes("opacity")&&typeof s=="number"?s.toString().replace(/^0\./,"."):s;o.utilities[r][c]=d}}),o},sm=()=>{let e="mobase",o=nm(e);return rm(({addBase:t,addUtilities:a,addComponents:r})=>{r({".wrapper":{maxWidth:"72rem",paddingLeft:"1.25rem",paddingRight:"1.25rem",marginLeft:"auto",marginRight:"auto","@media (min-width: 768px)":{paddingLeft:"2rem",paddingRight:"2rem"}}}),t({":root":{"font-smooth--webkit":"antialiased"},...o?.utilities}),a({...er})},{theme:{container:{center:!0},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"},extend:{fontFamily:{sans:["-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"],mono:["SFMono-Regular","Consolas","Liberation Mono","Menlo","monospace"]},colors:{..._o,...o?.colors,border:"rgba(var(--border))"},boxShadow:{small:`var(--${e}-box-shadow-small)`,medium:`var(--${e}-box-shadow-medium)`,large:`var(--${e}-box-shadow-large)`},zIndex:{negative:`var(--${e}-z-index-negative)`,workbench:`var(--${e}-z-index-workbench)`,default:`var(--${e}-z-index-default)`,"workbench-header":`var(--${e}-z-index-workbench-header)`,modal:`var(--${e}-z-index-modal)`,"modal-content":`var(--${e}-z-index-modal-content)`,dropdown:`var(--${e}-z-index-dropdown)`,tooltip:`var(--${e}-z-index-tooltip)`,notification:`var(--${e}-z-index-notification)`},borderRadius:{...ur(e)},fontSize:{...fr(e)},...gr}}})};import{Fragment as mm,jsx as y,jsxs as cm}from"react/jsx-runtime";var lm=cm(mm,{children:[y("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"}),y("meta",{name:"distribution",content:"Global"}),y("meta",{name:"author",content:"V\xED MoMo"}),y("meta",{property:"fb:app_id",content:"320653355376196"}),y("meta",{property:"fb:pages",content:"138010322921640"}),y("link",{rel:"shortcut icon",href:"/favicon.ico"}),y("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),y("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),y("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),y("meta",{name:"language",content:"vietnamese"}),y("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),y("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),y("meta",{name:"RATING",content:"GENERAL"}),y("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),y("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),y("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),y("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),y("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),y("link",{rel:"dns-prefetch",href:"//facebook.com"}),y("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),y("link",{rel:"dns-prefetch",href:"//www.google.com"}),y("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),y("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),y("link",{rel:"preconnect",href:"//connect.facebook.net"}),y("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),y("link",{rel:"preconnect",href:"//www.google-analytics.com"}),y("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),y("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),y("link",{rel:"preconnect",href:"//www.google.com"}),y("link",{rel:"preconnect",href:"//www.google.com.vn"}),y("link",{rel:"preconnect",href:"//www.googleadservices.com"}),y("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
243
239
  "@context": "https://schema.org/",
244
240
  "@type": "WebSite",
245
241
  "@id":"https://www.momo.vn/#website",
@@ -249,7 +245,7 @@ import*as $e from"react";import*as j from"@radix-ui/react-accordion";import{Chev
249
245
  "@type": "SearchAction",
250
246
  "target": "https://www.momo.vn/tim-kiem?q={search_term_string}",
251
247
  "query-input": "required name=search_term_string"
252
- }}`}}),x("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
248
+ }}`}}),y("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
253
249
  "@context": "https://schema.org",
254
250
  "@type": "Organization",
255
251
  "name": "Si\xEAu \u1EE9ng d\u1EE5ng MoMo",
@@ -284,5 +280,5 @@ import*as $e from"react";import*as j from"@radix-ui/react-accordion";import{Chev
284
280
  "https://www.linkedin.com/company/momo-mservice/",
285
281
  "https://github.com/momo-wallet"
286
282
  ]
287
- }`}})]});export{ct as Accordion,ft as AccordionContent,dt as AccordionItem,pt as AccordionTrigger,pr as ActionButton,_r as AlertDialog,Go as AlertDialogAction,$o as AlertDialogCancel,Vo as AlertDialogContent,Wo as AlertDialogDescription,Fo as AlertDialogFooter,zo as AlertDialogHeader,qt as AlertDialogOverlay,Bo as AlertDialogPortal,Oo as AlertDialogTitle,Hr as AlertDialogTrigger,Ht as AspectRatio,al as Badge,To as Breadcrumb,Io as BreadcrumbEllipsis,Do as BreadcrumbItem,So as BreadcrumbLink,ko as BreadcrumbList,Ao as BreadcrumbPage,Mo as BreadcrumbSeparator,E as Button,bt as Calendar,ks as Callout,_a as Card,za as CardContent,Va as CardDescription,Fa as CardFooter,Ha as CardHeader,Ba as CardTitle,ht as Checkbox,ri as ChoiceboxGroup,ni as ChoiceboxGroupItem,si as ChoiceboxMultiItem,Ps as Combobox,ws as ComboboxContent,ys as ComboboxTrigger,fo as Command,bs as CommandDialog,Ga as CommandEmpty,$a as CommandGroup,Oa as CommandInput,ja as CommandItem,Wa as CommandList,Ua as CommandSeparator,qa as CommandShortcut,Er as DatePicker,je as Dialog,gt as DialogBody,lr as DialogClose,_e as DialogContent,Ro as DialogDescription,No as DialogFooter,Po as DialogHeader,Gt as DialogOverlay,wo as DialogPortal,Re as DialogQr,Co as DialogTitle,sr as DialogTrigger,gs as Footer,Ma as HeaderNavigation,Gr as Heading,Ur as HeadingGroup,$r as HeadingSub,Wr as HeadingTagline,Tl as HeroSection,ue as IconButton,Ys as LightBoxContent,Ks as LightboxGallery,js as LightboxThumbnail,Tt as NavigationMenu,Mt as NavigationMenuContent,Dt as NavigationMenuItem,et as NavigationMenuLink,kt as NavigationMenuList,At as NavigationMenuTrigger,Qo as Pagination,Qe as Popover,Be as PopoverContent,Xe as PopoverTrigger,fi as Progressbar,wa as RadioGroup,Pa as RadioGroupItem,Es as SearchBar,En as Select,ga as SelectContent,Hn as SelectGroup,Bn as SelectItem,ua as SelectLabel,mo as SelectScrollDownButton,lo as SelectScrollUpButton,ha as SelectSeparator,fa as SelectTrigger,_n as SelectValue,Hl as SiteMeta,yi as Slider,Sn as Stepper,ya as Switch,Xr as Tabs,Yo as TabsContent,Xo as TabsList,Zo as TabsTrigger,Jr as TextArea,Rt as TextButton,Rn as TextInput,aa as ToastAction,dn as Toaster,hn as Tooltip,na as TooltipArrow,sa as TooltipContent,un as TooltipProvider,vn as TooltipTrigger,mi as badgeVariants,te as buttonVariants,_l as mobaseTW,St as navigationMenuTriggerStyle,ra as textButtonVariants,ea as toast,Kt as useToast};
283
+ }`}})]});export{wt as Accordion,Ct as AccordionContent,Nt as AccordionItem,Pt as AccordionTrigger,to as ActionButton,mn as AlertDialog,la as AlertDialogAction,ma as AlertDialogCancel,aa as AlertDialogContent,sa as AlertDialogDescription,ra as AlertDialogFooter,ia as AlertDialogHeader,io as AlertDialogOverlay,oa as AlertDialogPortal,na as AlertDialogTitle,cn as AlertDialogTrigger,Je as AspectRatio,Tl as Badge,jo as Breadcrumb,Ko as BreadcrumbEllipsis,Uo as BreadcrumbItem,Qo as BreadcrumbLink,qo as BreadcrumbList,Xo as BreadcrumbPage,Zo as BreadcrumbSeparator,J as Button,Dt as Calendar,Zs as Callout,ei as Card,ii as CardContent,ai as CardDescription,ri as CardFooter,ti as CardHeader,oi as CardTitle,kt as Checkbox,Ci as ChoiceboxGroup,Ri as ChoiceboxGroupItem,Ti as ChoiceboxMultiItem,js as Combobox,$s as ComboboxContent,Gs as ComboboxTrigger,So as Command,Os as CommandDialog,li as CommandEmpty,mi as CommandGroup,ni as CommandInput,di as CommandItem,si as CommandList,ci as CommandSeparator,pi as CommandShortcut,ln as DatePicker,Le as Dialog,Rt as DialogBody,Hr as DialogClose,we as DialogContent,$o as DialogDescription,Wo as DialogFooter,Oo as DialogHeader,Jt as DialogOverlay,Vo as DialogPortal,Ie as DialogQr,Go as DialogTitle,Yt as DialogTrigger,Ul as FeatureSection,Bs as Footer,Za as HeaderNavigation,so as Heading,mo as HeadingGroup,lo as HeadingSub,no as HeadingTagline,Wl as HeroSection,Ne as IconButton,yl as LightBoxContent,wl as LightboxGallery,ul as LightboxThumbnail,Ht as NavigationMenu,Ot as NavigationMenuContent,Ft as NavigationMenuItem,pt as NavigationMenuLink,Bt as NavigationMenuList,Vt as NavigationMenuTrigger,ga as Pagination,nt as Popover,qe as PopoverContent,st as PopoverTrigger,Li as Progressbar,Va as RadioGroup,Oa as RadioGroupItem,al as SearchBar,as as Select,Ia as SelectContent,rs as SelectGroup,ns as SelectItem,Ea as SelectLabel,Ro as SelectScrollDownButton,Co as SelectScrollUpButton,_a as SelectSeparator,La as SelectTrigger,is as SelectValue,lm as SiteMeta,Qi as Slider,Jl as SocialProofSection,Yn as Stepper,za as Switch,xn as Tabs,va as TabsContent,fa as TabsList,ua as TabsTrigger,Pn as TextArea,Qe as TextButton,Qn as TextInput,Na as ToastAction,En as Toaster,zn as Tooltip,Ra as TooltipArrow,Ta as TooltipContent,Fn as TooltipProvider,Vn as TooltipTrigger,Si as badgeVariants,ne as buttonVariants,sm as mobaseTW,zt as navigationMenuTriggerStyle,Ca as textButtonVariants,xa as toast,fo as useToast};
288
284
  //# sourceMappingURL=index.js.map