@momo-webplatform/mobase 0.2.33 → 0.2.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +15 -15
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +68 -3
- package/dist/esm/index.d.ts +68 -3
- package/dist/esm/index.js +17 -17
- package/dist/esm/index.js.map +1 -1
- package/package.json +9 -6
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as ze from"react";import*as W from"@radix-ui/react-accordion";import{ChevronDownIcon as Hi}from"@heroicons/react/20/solid";import{clsx as Ei}from"clsx";import*as Ii from"react";import{twMerge as Li}from"tailwind-merge";var ie={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 no={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 Ve=[{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"}],St=[{Name:"App Store",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",Link:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"},{Name:"Google Play",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",Link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}];var H={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Phone_Ext_3:"02855555555",Phone_Ext_3_Format:"028.5555.5555",Email:"hotro@momo.vn"}};function a(...e){return Li(Ei(e))}import{jsx as De,jsxs as _i}from"react/jsx-runtime";var it=ze.forwardRef(({className:e,...t},o)=>De(W.Root,{ref:o,...t}));it.displayName="AccordionRoot";var rt=ze.forwardRef(({className:e,...t},o)=>De(W.Item,{ref:o,className:a("border-b border-gray-200",e),...t}));rt.displayName="AccordionItem";var nt=ze.forwardRef(({className:e,children:t,...o},i)=>De(W.Header,{className:"flex",children:_i(W.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,De(Hi,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));nt.displayName=W.Trigger.displayName;var st=ze.forwardRef(({className:e,children:t,...o},i)=>De(W.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:De("div",{className:a("pb-4 pt-0 text-gray-900 ",e),children:t})}));st.displayName=W.Content.displayName;import*as Se from"react";import{ChevronRightIcon as Bi,DotsHorizontalIcon as Vi}from"@radix-ui/react-icons";import{Slot as zi}from"@radix-ui/react-slot";import{jsx as re,jsxs as Fi}from"react/jsx-runtime";var so=Se.forwardRef(({className:e,...t},o)=>re("nav",{ref:o,"aria-label":"breadcrumb",className:a("",e),...t}));so.displayName="Breadcrumb";var lo=Se.forwardRef(({className:e,...t},o)=>re("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}));lo.displayName="BreadcrumbList";var mo=Se.forwardRef(({className:e,...t},o)=>re("li",{ref:o,className:a("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));mo.displayName="BreadcrumbItem";var co=Se.forwardRef(({asChild:e,className:t,...o},i)=>re(e?zi:"a",{ref:i,className:a("transition-colors hover:text-foreground",t),...o}));co.displayName="BreadcrumbLink";var po=Se.forwardRef(({className:e,...t},o)=>re("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:a("text-sm text-gray-500",e),...t}));po.displayName="BreadcrumbPage";var go=({children:e,className:t,...o})=>re("li",{role:"presentation","aria-hidden":"true",className:a("text-gray-900",t),...o,children:e??re(Bi,{className:"w-2 h-2"})});go.displayName="BreadcrumbSeparator";var fo=({className:e,...t})=>Fi("span",{role:"presentation","aria-hidden":"true",className:a("flex h-5 w-5 items-center justify-center",e),...t,children:[re(Vi,{className:"w-4 h-4 text-gray-900"}),re("span",{className:"sr-only",children:"More"})]});fo.displayName="BreadcrumbElipssis";import*as ho from"react";import{Slot as Gi}from"@radix-ui/react-slot";import{cva as $i}from"class-variance-authority";import{jsx as G,jsxs as Wi}from"react/jsx-runtime";var Oi=({className:e})=>Wi("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"})]}),uo=Oi;import{Fragment as Ui,jsx as At,jsxs as ji}from"react/jsx-runtime";var ne=$i("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=ho.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isLoading:r=!1,isDisabled:n=!1,...m},c)=>{let d=i?Gi:"button",b=a(ne({variant:t,size:o,className:e}),{"cursor-wait":r});return At(Ui,{children:i?At(d,{className:b,type:"button",disabled:n,ref:c,...m,children:m.children}):ji(d,{className:b,type:"button",disabled:n,ref:c,...m,children:[r&&At(uo,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),m.children]})})});J.displayName="Button";import*as vo from"react";import*as Fe from"@radix-ui/react-checkbox";import{CheckIcon as qi}from"@heroicons/react/16/solid";import{jsx as Mt}from"react/jsx-runtime";var bo=vo.forwardRef(({className:e,...t},o)=>Mt(Fe.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:Mt(Fe.Indicator,{className:a("flex items-center justify-center text-current"),children:Mt(qi,{className:"h-4 w-4"})})}));bo.displayName=Fe.Root.displayName;import*as Oe from"react";import*as R from"@radix-ui/react-dialog";import{XMarkIcon as Qi}from"@heroicons/react/16/solid";import{jsx as se,jsxs as Et}from"react/jsx-runtime";var We=R.Root,Zi=R.Trigger,xo=R.Portal,Xi=R.Close,It=Oe.forwardRef(({className:e,...t},o)=>se(R.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}));It.displayName=R.Overlay.displayName;var Ae=Oe.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:i="md",position:r="center",height:n="auto",isFull:m=!1,children:c,...d},b)=>{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"},A={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},V={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},Q=[P.base,P[r],A[i],V[n],m&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return Et(xo,{children:[se(It,{}),Et(R.Content,{ref:b,className:a(...Q),...d,children:[c,!o&&Et(R.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:[se(Qi,{className:"h-5 w-5 text-gray-700"}),se("span",{className:"sr-only",children:"Close"})]})]})]})});Ae.displayName=R.Content.displayName;var yo=({className:e,...t})=>se("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});yo.displayName="DialogHeader";var lt=({className:e,isCondensed:t=!1,...o})=>se("div",{className:a("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});lt.displayName="DialogBody";var wo=({className:e,isDivider:t=!0,...o})=>se("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});wo.displayName="DialogFooter";var No=Oe.forwardRef(({className:e,...t},o)=>se(R.Title,{ref:o,className:a("text-base font-semibold line-clamp-1 max-w-full",e),...t}));No.displayName=R.Title.displayName;var Po=Oe.forwardRef(({className:e,...t},o)=>se(R.Description,{ref:o,className:a("text-sm text-gray-700",e),...t}));Po.displayName=R.Description.displayName;import{QRCodeSVG as Yi}from"qrcode.react";import{Fragment as Lt,jsx as f,jsxs as _}from"react/jsx-runtime";var Ki=({img:e="",children:t,isQrForAll:o})=>_(Lt,{children:[f("div",{className:"qrcode__scan__container",children:_("div",{className:"qrcode__scan",children:[f("div",{className:"qrcode__gradient",children:f("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),f("div",{className:"qrcode__border",children:f("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),f("div",{className:"qrcode__image p-4",children:e?f("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),f("div",{className:"mt-4 text-sm text-white",children:o?_(Lt,{children:[f("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),f("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"})]}):_(Lt,{children:[f("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:f("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",f("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),f("style",{children:`
|
|
1
|
+
import*as We from"react";import*as W from"@radix-ui/react-accordion";import{ChevronDownIcon as Gi}from"@heroicons/react/20/solid";import{clsx as Fi}from"clsx";import*as Oi from"react";import{twMerge as Wi}from"tailwind-merge";var se={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 uo={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 Oe=[{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"}],Vt=[{Name:"App Store",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",Link:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"},{Name:"Google Play",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",Link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}];var H={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Phone_Ext_3:"02855555555",Phone_Ext_3_Format:"028.5555.5555",Email:"hotro@momo.vn"}};function a(...e){return Wi(Fi(e))}import{jsx as Ae,jsxs as $i}from"react/jsx-runtime";var dt=We.forwardRef(({className:e,...t},o)=>Ae(W.Root,{ref:o,...t}));dt.displayName="AccordionRoot";var ct=We.forwardRef(({className:e,...t},o)=>Ae(W.Item,{ref:o,className:a("border-b border-gray-200",e),...t}));ct.displayName="AccordionItem";var pt=We.forwardRef(({className:e,children:t,...o},i)=>Ae(W.Header,{className:"flex",children:$i(W.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,Ae(Gi,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));pt.displayName=W.Trigger.displayName;var gt=We.forwardRef(({className:e,children:t,...o},i)=>Ae(W.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:Ae("div",{className:a("pb-4 pt-0 text-gray-900 ",e),children:t})}));gt.displayName=W.Content.displayName;import*as Me from"react";import{ChevronRightIcon as ji,DotsHorizontalIcon as Ui}from"@radix-ui/react-icons";import{Slot as qi}from"@radix-ui/react-slot";import{jsx as le,jsxs as Qi}from"react/jsx-runtime";var ho=Me.forwardRef(({className:e,...t},o)=>le("nav",{ref:o,"aria-label":"breadcrumb",className:a("",e),...t}));ho.displayName="Breadcrumb";var vo=Me.forwardRef(({className:e,...t},o)=>le("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}));vo.displayName="BreadcrumbList";var bo=Me.forwardRef(({className:e,...t},o)=>le("li",{ref:o,className:a("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));bo.displayName="BreadcrumbItem";var xo=Me.forwardRef(({asChild:e,className:t,...o},i)=>le(e?qi:"a",{ref:i,className:a("transition-colors hover:text-foreground",t),...o}));xo.displayName="BreadcrumbLink";var yo=Me.forwardRef(({className:e,...t},o)=>le("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:a("text-sm text-gray-500",e),...t}));yo.displayName="BreadcrumbPage";var wo=({children:e,className:t,...o})=>le("li",{role:"presentation","aria-hidden":"true",className:a("text-gray-900",t),...o,children:e??le(ji,{className:"w-2 h-2"})});wo.displayName="BreadcrumbSeparator";var No=({className:e,...t})=>Qi("span",{role:"presentation","aria-hidden":"true",className:a("flex h-5 w-5 items-center justify-center",e),...t,children:[le(Ui,{className:"w-4 h-4 text-gray-900"}),le("span",{className:"sr-only",children:"More"})]});No.displayName="BreadcrumbElipssis";import*as Co from"react";import{Slot as Yi}from"@radix-ui/react-slot";import{cva as Ki}from"class-variance-authority";import{jsx as G,jsxs as Zi}from"react/jsx-runtime";var Xi=({className:e})=>Zi("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"}),G("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"})]}),Po=Xi;import{Fragment as er,jsx as zt,jsxs as Ji}from"react/jsx-runtime";var $=Ki("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=Co.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isLoading:r=!1,isDisabled:n=!1,...l},d)=>{let c=i?Yi:"button",h=a($({variant:t,size:o,className:e}),{"cursor-wait":r});return zt(er,{children:i?zt(c,{className:h,type:"button",disabled:n,ref:d,...l,children:l.children}):Ji(c,{className:h,type:"button",disabled:n,ref:d,...l,children:[r&&zt(Po,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),l.children]})})});j.displayName="Button";import*as ut from"react";import{enUS as or,vi as ar}from"date-fns/locale";import{DayPicker as ir}from"react-day-picker";import{ChevronLeft as rr,ChevronRight as nr}from"lucide-react";import sr from"lunisolar";import*as Ro from"react";import*as Ge from"@radix-ui/react-checkbox";import{CheckIcon as tr}from"@heroicons/react/16/solid";import{jsx as Ft}from"react/jsx-runtime";var ft=Ro.forwardRef(({className:e,...t},o)=>Ft(Ge.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:Ft(Ge.Indicator,{className:a("flex items-center justify-center text-current"),children:Ft(tr,{className:"h-4 w-4"})})}));ft.displayName=Ge.Root.displayName;import{Fragment as pr,jsx as te,jsxs as Ot}from"react/jsx-runtime";var lr=({date:e,cusContent:t})=>{let o=null;return o=sr(e).lunar,Ot(pr,{children:[t?t(e):e.getDate(),o&&te("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})]})},mr={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=ut.useId();return te("div",{className:"w-full p-3 pt-0",children:Ot("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[te(ft,{checked:e,id:`check-show-luna-${i}`,onCheckedChange:r=>{typeof r=="boolean"&&t(r)}}),te("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 cr=e=>e.getDay()===0||e.getDay()===6;function ht({className:e,classNames:t,showOutsideDays:o=!1,enableLunaDate:i=!1,lang:r="vi",cusContentDay:n,...l}){let[d,c]=ut.useState(!0);return te(ir,{locale:r==="vi"?ar:or,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($({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($({variant:"transparent"}),"h-11 w-11 text-center text-sm p-0 aria-selected:opacity-100 aria-selected:bg-pink-500 aria-selected:text-white [&.day-range-end.day-range-start]:rounded-md focus-within:relative focus-within:z-20 font-semibold relative group",d&&"show-luna"),day_range_end:"day-range-end [&.day-range-end]:rounded-l-none",day_range_start:"day-range-start [&.day-range-start]:rounded-r-none",day_today:"day-today [&:not([aria-selected])]:bg-pink-50",day_outside:"day-outside opacity-50 aria-selected:bg-accent/50 aria-selected:opacity-30",day_disabled:"opacity-50",day_range_middle:"!text-gray-900 !bg-pink-50 !rounded-none group/mid",day_hidden:"invisible",...t},modifiers:{weekend:cr},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>te(rr,{className:"h-6 w-6"}),IconRight:()=>te(nr,{className:"h-6 w-6"}),DayContent:h=>te(lr,{date:h.date,cusContent:n}),Months:({children:h})=>Ot("div",{className:"w-full",children:[te("div",{className:a("flex flex-col sm:flex-row months-wrapper"),children:h}),i&&te(dr,{isShow:d,setIsShow:c,lang:r})]})},formatters:r==="vi"?mr:{},...l})}ht.displayName="Calendar";import*as ko from"react";import*as me from"@radix-ui/react-popover";import{jsx as To}from"react/jsx-runtime";var $e=me.Root,je=me.Trigger,Ie=ko.forwardRef(({className:e,align:t="center",sideOffset:o=4,...i},r)=>To(me.Portal,{children:To(me.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})}));Ie.displayName=me.Content.displayName;import{format as vt}from"date-fns";import{Calendar as gr}from"lucide-react";import{QuestionMarkCircleIcon as fr,XCircleIcon as ur}from"@heroicons/react/16/solid";import{Fragment as Do,jsx as oe,jsxs as Ue}from"react/jsx-runtime";var hr=({label:e,placeholder:t="Select a value",size:o=1,message:i,isError:r,disabled:n,dateFormat:l="dd/MM/yyyy",buttonProps:d,popoverProps:c,calendarProps:h})=>{let p=h?.selected||null;return Ue("div",{children:[Ue($e,{...c,children:[oe(je,{asChild:!0,children:Ue(j,{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,...d,children:[oe("span",{className:"line-clamp-1 flex-1",children:p instanceof Date?vt(p,l):p&&typeof p=="object"&&"from"in p&&"to"in p?oe(Do,{children:p.from?p.to?Ue(Do,{children:[vt(p.from,l)," -"," ",vt(p.to,l)]}):vt(p.from,l):t}):t}),e&&oe("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}),oe(gr,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),oe(Ie,{className:"w-auto !p-0 border-none",children:oe(ht,{...h})})]}),i&&Ue("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[r?oe(ur,{width:16,height:16,className:"text-red-500"}):oe(fr,{width:16,height:16,className:"text-gray-500"}),oe("span",{className:a(r?"text-red-500":"text-gray-500",o===2?"text-sm":"text-xs"),children:i})]})]})};import*as qe from"react";import*as R from"@radix-ui/react-dialog";import{XMarkIcon as vr}from"@heroicons/react/16/solid";import{jsx as de,jsxs as Wt}from"react/jsx-runtime";var Qe=R.Root,br=R.Trigger,So=R.Portal,xr=R.Close,Gt=qe.forwardRef(({className:e,...t},o)=>de(R.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=R.Overlay.displayName;var Le=qe.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:i="md",position:r="center",height:n="auto",isFull:l=!1,children:d,...c},h)=>{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"},A={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},V={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},Z=[p.base,p[r],A[i],V[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(So,{children:[de(Gt,{}),Wt(R.Content,{ref:h,className:a(...Z),...c,children:[d,!o&&Wt(R.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:[de(vr,{className:"h-5 w-5 text-gray-700"}),de("span",{className:"sr-only",children:"Close"})]})]})]})});Le.displayName=R.Content.displayName;var Ao=({className:e,...t})=>de("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});Ao.displayName="DialogHeader";var bt=({className:e,isCondensed:t=!1,...o})=>de("div",{className:a("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});bt.displayName="DialogBody";var Mo=({className:e,isDivider:t=!0,...o})=>de("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});Mo.displayName="DialogFooter";var Io=qe.forwardRef(({className:e,...t},o)=>de(R.Title,{ref:o,className:a("text-base font-semibold line-clamp-1 max-w-full",e),...t}));Io.displayName=R.Title.displayName;var Lo=qe.forwardRef(({className:e,...t},o)=>de(R.Description,{ref:o,className:a("text-sm text-gray-700",e),...t}));Lo.displayName=R.Description.displayName;import{QRCodeSVG as yr}from"qrcode.react";import{Fragment as $t,jsx as u,jsxs as _}from"react/jsx-runtime";var wr=({img:e="",children:t,isQrForAll:o})=>_($t,{children:[u("div",{className:"qrcode__scan__container",children:_("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?_($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"})]}):_($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:`
|
|
2
2
|
.qrcode__scan__container {
|
|
3
3
|
padding: 15px;
|
|
4
4
|
background-color: white;
|
|
@@ -67,7 +67,7 @@ import*as ze from"react";import*as W from"@radix-ui/react-accordion";import{Chev
|
|
|
67
67
|
transform: translate3d(0, 30%, 0);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
`})]}),Ge=({className:e,children:t,title:o,shortTitle:i,qrImage:r,qrLink:n,logoQr:m,isQrForAll:c=!1,...d})=>f(We,{...d,children:f(Ae,{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:f(lt,{className:"p-0",children:_("div",{className:"flex flex-row flex-wrap",children:[f("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||_("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[_("div",{className:"flex flex-nowrap items-center",children:[f("div",{className:"flex-none",children:f("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),_("div",{className:"flex-1 pl-4",children:[f("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),f("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"})]})]}),_("div",{className:"flex flex-nowrap items-center",children:[f("div",{className:"flex-none",children:f("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),_("div",{className:"flex-1 pl-4",children:[f("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),f("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),_("div",{className:"flex flex-nowrap items-center",children:[f("div",{className:"flex-none",children:f("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),_("div",{className:"flex-1 pl-4",children:[f("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),_("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"]})]})]})]})}),f("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:_("div",{className:"px-5 py-10 text-center",children:[o&&f("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),_("div",{className:"relative",children:[c&&f("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:f("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),f(Ki,{img:r,isQrForAll:c,children:n&&f(Yi,{value:n,size:215,imageSettings:{src:`${m||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});import*as we from"react";import*as x from"@radix-ui/react-alert-dialog";import{jsx as le,jsxs as tr}from"react/jsx-runtime";var Ji=x.Root,er=x.Trigger,Co=x.Portal,Ht=we.forwardRef(({className:e,...t},o)=>le(x.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}));Ht.displayName=x.Overlay.displayName;var Ro=we.forwardRef(({className:e,...t},o)=>tr(Co,{children:[le(Ht,{}),le(x.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})]}));Ro.displayName=x.Content.displayName;var To=({className:e,...t})=>le("div",{className:a("flex flex-col space-y-2 text-left",e),...t});To.displayName="AlertDialogHeader";var ko=({className:e,...t})=>le("div",{className:a("flex flex-row justify-end space-x-4",e),...t});ko.displayName="AlertDialogFooter";var Do=we.forwardRef(({className:e,...t},o)=>le(x.Title,{ref:o,className:a("text-lg text-gray-900 font-semibold",e),...t}));Do.displayName=x.Title.displayName;var So=we.forwardRef(({className:e,...t},o)=>le(x.Description,{ref:o,className:a("text-sm text-muted-foreground",e),...t}));So.displayName=x.Description.displayName;var Ao=we.forwardRef(({className:e,...t},o)=>le(x.Action,{ref:o,className:a(ne({variant:"primary"}),"",e),...t}));Ao.displayName=x.Action.displayName;var Mo=we.forwardRef(({className:e,...t},o)=>le(x.Cancel,{ref:o,className:a(ne({variant:"secondary"}),e),...t}));Mo.displayName=x.Cancel.displayName;import*as Eo from"react";import{Slot as or}from"@radix-ui/react-slot";import{cva as ar}from"class-variance-authority";import{jsx as ir}from"react/jsx-runtime";var Ne=ar("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"}}),pe=Eo.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isDisabled:r=!1,...n},m)=>{let c=i?or:"button",d=a(Ne({variant:t,size:o,className:e}));return ir(c,{className:d,disabled:r,ref:m,...n,children:n.children})});pe.displayName="IconButton";import{createContext as rr,useContext as Io}from"react";import{jsx as $e}from"react/jsx-runtime";var _t=rr({align:"center"}),nr=({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"},m={small:"text-sm",large:"text-lg"};return $e("div",{className:a("mb-1 font-semibold",n[e],m[t],o&&"truncate",i),children:r})},sr=({as:e="h2",size:t="small",color:o="pink",isTruncated:i=!1,className:r,children:n})=>{let m=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:b}=Io(_t);return $e(m,{className:a("font-bold max-w-4xl",b==="center"?"mx-auto":"",c[o],d[t],i&&"truncate",r),children:n})},lr=({color:e="regular",size:t="small",marginTop:o="spacingX",isTruncated:i=!1,className:r,children:n})=>{let m={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:b}=Io(_t);return $e("div",{className:a("mt-2",b==="center"?"mx-auto max-w-3xl":"max-w-4xl",m[e],c[t],d[o],i&&"truncate",r),children:n})},mr=({className:e,align:t="center",children:o})=>$e("div",{className:a("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:$e(_t.Provider,{value:{align:t},children:o})});import{ChevronLeft as cr,ChevronRight as dr}from"lucide-react";import{Fragment as pr,jsx as $,jsxs as Lo}from"react/jsx-runtime";function Ho({current:e,total:t,onChange:o}){let i=r=>$("li",{children:$("button",{className:a(Ne({variant:e===r?"outline":"secondary",size:"sm"})),onClick:()=>o(r),children:r})},r);return $("nav",{role:"navigation","aria-label":"pagination",className:a("mx-auto flex w-full justify-center"),children:Lo("ul",{className:a("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&$("li",{children:$("button",{className:a(Ne({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:$(cr,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((r,n)=>i(n+1)):Lo(pr,{children:[i(1),e===1&&[i(2),i(3)],e>3&&$("li",{children:$("button",{className:a(Ne({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&&$("button",{className:a(Ne({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),i(t)]}),t>1&&$("li",{children:$("button",{className:a(Ne({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:$(dr,{className:"h-4 w-4"})})})]})})}import*as Bo from"react";import*as me from"@radix-ui/react-popover";import{jsx as _o}from"react/jsx-runtime";var Bt=me.Root,Vt=me.Trigger,mt=Bo.forwardRef(({className:e,align:t="center",sideOffset:o=4,...i},r)=>_o(me.Portal,{children:_o(me.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})}));mt.displayName=me.Content.displayName;import*as ct from"react";import*as X from"@radix-ui/react-tabs";import{jsx as zt}from"react/jsx-runtime";var gr=X.Root,Vo=ct.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...i},r)=>zt(X.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}));Vo.displayName=X.List.displayName;var zo=ct.forwardRef(({className:e,...t},o)=>zt(X.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=X.Trigger.displayName;var Fo=ct.forwardRef(({className:e,...t},o)=>zt(X.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}));Fo.displayName=X.Content.displayName;import{forwardRef as fr}from"react";import{QuestionMarkCircleIcon as ur}from"@heroicons/react/24/outline";import{XCircleIcon as hr}from"@heroicons/react/24/solid";import{jsx as Me,jsxs as Oo}from"react/jsx-runtime";var vr=fr(({disabled:e,isError:t,message:o,label:i,className:r,inputClassName:n,size:m,rows:c=3,...d},b)=>Oo("div",{className:a("relative",r,t&&"mobase-text-area-error"),children:[i&&Me("span",{className:a("mobase-text-area-label absolute bg-white -top-2.5 px-1.5 left-2 text-sm text-gray-500",m===2&&" -top-2.5 text-sm"),children:i}),Me("textarea",{disabled:e,ref:b,className:a("mobase-text-area-box bg-white w-full text-sm transition-all rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 outline-none block",m===2&&"text-base",n),rows:c,...d}),o&&Oo("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?Me(hr,{width:16,height:16,className:"text-red-500"}):Me(ur,{width:16,height:16,className:"text-gray-500"}),Me("span",{className:a("text-gray-500 ",m===2?"text-sm":"text-xs"),children:o})]}),Me("style",{children:`
|
|
70
|
+
`})]}),Xe=({className:e,children:t,title:o,shortTitle:i,qrImage:r,qrLink:n,logoQr:l,isQrForAll:d=!1,...c})=>u(Qe,{...c,children:u(Le,{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(bt,{className:"p-0",children:_("div",{className:"flex flex-row flex-wrap",children:[u("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||_("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[_("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"})}),_("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:d?"M\u1EDF app MoMo ho\u1EB7c \u1EE9ng d\u1EE5ng ng\xE2n h\xE0ng/v\xED \u0111i\u1EC7n t\u1EED ch\u1EA5p nh\u1EADn m\xE3 v\u1EA1ch t\u1EEB QR \u0110a N\u0103ng":"M\u1EDF \u1EE9ng d\u1EE5ng camera m\u1EB7c \u0111\u1ECBnh ho\u1EB7c \u1EE9ng d\u1EE5ng h\u1ED7 tr\u1EE3 QR code c\u1EE7a b\u1EA1n"})]})]}),_("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"})}),_("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"})]})]}),_("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"})}),_("div",{className:"flex-1 pl-4",children:[u("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),_("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:_("div",{className:"px-5 py-10 text-center",children:[o&&u("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),_("div",{className:"relative",children:[d&&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(wr,{img:r,isQrForAll:d,children:n&&u(yr,{value:n,size:215,imageSettings:{src:`${l||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});import*as Pe from"react";import*as y from"@radix-ui/react-alert-dialog";import{jsx as ce,jsxs as Cr}from"react/jsx-runtime";var Nr=y.Root,Pr=y.Trigger,Eo=y.Portal,jt=Pe.forwardRef(({className:e,...t},o)=>ce(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}));jt.displayName=y.Overlay.displayName;var Ho=Pe.forwardRef(({className:e,...t},o)=>Cr(Eo,{children:[ce(jt,{}),ce(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})]}));Ho.displayName=y.Content.displayName;var _o=({className:e,...t})=>ce("div",{className:a("flex flex-col space-y-2 text-left",e),...t});_o.displayName="AlertDialogHeader";var Bo=({className:e,...t})=>ce("div",{className:a("flex flex-row justify-end space-x-4",e),...t});Bo.displayName="AlertDialogFooter";var Vo=Pe.forwardRef(({className:e,...t},o)=>ce(y.Title,{ref:o,className:a("text-lg text-gray-900 font-semibold",e),...t}));Vo.displayName=y.Title.displayName;var zo=Pe.forwardRef(({className:e,...t},o)=>ce(y.Description,{ref:o,className:a("text-sm text-muted-foreground",e),...t}));zo.displayName=y.Description.displayName;var Fo=Pe.forwardRef(({className:e,...t},o)=>ce(y.Action,{ref:o,className:a($({variant:"primary"}),"",e),...t}));Fo.displayName=y.Action.displayName;var Oo=Pe.forwardRef(({className:e,...t},o)=>ce(y.Cancel,{ref:o,className:a($({variant:"secondary"}),e),...t}));Oo.displayName=y.Cancel.displayName;import*as Wo from"react";import{Slot as Rr}from"@radix-ui/react-slot";import{cva as Tr}from"class-variance-authority";import{jsx as kr}from"react/jsx-runtime";var Ce=Tr("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"}}),fe=Wo.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:i=!1,isDisabled:r=!1,...n},l)=>{let d=i?Rr:"button",c=a(Ce({variant:t,size:o,className:e}));return kr(d,{className:c,disabled:r,ref:l,...n,children:n.children})});fe.displayName="IconButton";import{createContext as Dr,useContext as Go}from"react";import{jsx as Ze}from"react/jsx-runtime";var Ut=Dr({align:"center"}),Sr=({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 Ze("div",{className:a("mb-1 font-semibold",n[e],l[t],o&&"truncate",i),children:r})},Ar=({as:e="h2",size:t="small",color:o="pink",isTruncated:i=!1,className:r,children:n})=>{let l=e,d={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},c={small:"lg:text-3xl text-2xl",large:"lg:text-4xl text-2xl"},{align:h}=Go(Ut);return Ze(l,{className:a("font-bold max-w-4xl",h==="center"?"mx-auto":"",d[o],c[t],i&&"truncate",r),children:n})},Mr=({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"},d={small:"md:text-base text-sm",large:"md:text-lg text-base"},c={none:"",spacingX:"mt-2",spacingM:"mt-3",spacingL:"mt-4",spacingXl:"mt-5",spacing2Xl:"mt-6"},{align:h}=Go(Ut);return Ze("div",{className:a("mt-2",h==="center"?"mx-auto max-w-3xl":"max-w-4xl",l[e],d[t],c[o],i&&"truncate",r),children:n})},Ir=({className:e,align:t="center",children:o})=>Ze("div",{className:a("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:Ze(Ut.Provider,{value:{align:t},children:o})});import{ChevronLeft as Lr,ChevronRight as Er}from"lucide-react";import{Fragment as Hr,jsx as U,jsxs as $o}from"react/jsx-runtime";function jo({current:e,total:t,onChange:o}){let i=r=>U("li",{children:U("button",{className:a(Ce({variant:e===r?"outline":"secondary",size:"sm"})),onClick:()=>o(r),children:r})},r);return U("nav",{role:"navigation","aria-label":"pagination",className:a("mx-auto flex w-full justify-center"),children:$o("ul",{className:a("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&U("li",{children:U("button",{className:a(Ce({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:U(Lr,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((r,n)=>i(n+1)):$o(Hr,{children:[i(1),e===1&&[i(2),i(3)],e>3&&U("li",{children:U("button",{className:a(Ce({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&&U("button",{className:a(Ce({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),i(t)]}),t>1&&U("li",{children:U("button",{className:a(Ce({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:U(Er,{className:"h-4 w-4"})})})]})})}import*as xt from"react";import*as K from"@radix-ui/react-tabs";import{jsx as qt}from"react/jsx-runtime";var _r=K.Root,Uo=xt.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...i},r)=>qt(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}));Uo.displayName=K.List.displayName;var qo=xt.forwardRef(({className:e,...t},o)=>qt(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}));qo.displayName=K.Trigger.displayName;var Qo=xt.forwardRef(({className:e,...t},o)=>qt(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}));Qo.displayName=K.Content.displayName;import{forwardRef as Br}from"react";import{QuestionMarkCircleIcon as Vr}from"@heroicons/react/24/outline";import{XCircleIcon as zr}from"@heroicons/react/24/solid";import{jsx as Ee,jsxs as Xo}from"react/jsx-runtime";var Fr=Br(({disabled:e,isError:t,message:o,label:i,className:r,inputClassName:n,size:l,rows:d=3,...c},h)=>Xo("div",{className:a("relative",r,t&&"mobase-text-area-error"),children:[i&&Ee("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}),Ee("textarea",{disabled:e,ref:h,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:d,...c}),o&&Xo("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?Ee(zr,{width:16,height:16,className:"text-red-500"}):Ee(Vr,{width:16,height:16,className:"text-gray-500"}),Ee("span",{className:a("text-gray-500 ",l===2?"text-sm":"text-xs"),children:o})]}),Ee("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 ze from"react";import*as W from"@radix-ui/react-accordion";import{Chev
|
|
|
94
94
|
color: rgb(var(--mobase-red-500) / 1);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
`})]}));import*as
|
|
97
|
+
`})]}));import*as Nt from"react";var Or=1,Wr=1e6;var Qt=0;function Gr(){return Qt=(Qt+1)%Number.MAX_SAFE_INTEGER,Qt.toString()}var Xt=new Map,Zo=e=>{if(Xt.has(e))return;let t=setTimeout(()=>{Xt.delete(e),Ye({type:"REMOVE_TOAST",toastId:e})},Wr);Xt.set(e,t)},$r=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Or)};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?Zo(o):e.toasts.forEach(i=>{Zo(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}},yt=[],wt={toasts:[]};function Ye(e){wt=$r(wt,e),yt.forEach(t=>{t(wt)})}function Yo({...e}){let t=Gr(),o=r=>Ye({type:"UPDATE_TOAST",toast:{...r,id:t}}),i=()=>Ye({type:"DISMISS_TOAST",toastId:t});return Ye({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:r=>{r||i()}}}),{id:t,dismiss:i,update:o}}function Zt(){let[e,t]=Nt.useState(wt);return Nt.useEffect(()=>(yt.push(t),()=>{let o=yt.indexOf(t);o>-1&&yt.splice(o,1)}),[e]),{...e,toast:Yo,dismiss:o=>Ye({type:"DISMISS_TOAST",toastId:o})}}import*as Re from"react";import*as D from"@radix-ui/react-toast";import{cva as jr}from"class-variance-authority";import{XMarkIcon as Ur,CheckCircleIcon as qr,ExclamationTriangleIcon as Qr,InformationCircleIcon as Xr}from"@heroicons/react/20/solid";import{jsx as pe,jsxs as Ko}from"react/jsx-runtime";var Jo=D.Provider,Yt=Re.forwardRef(({className:e,...t},o)=>pe(D.Viewport,{ref:o,className:a("fixed bottom-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 left-0 sm:right-0 sm:left-auto sm:top-0 sm:bottom-auto sm:flex-col md:max-w-[420px]",e),...t}));Yt.displayName=D.Viewport.displayName;var Zr=jr("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"}}),Kt=Re.forwardRef(({className:e,variant:t="sucess",children:o,...i},r)=>Ko(D.Root,{ref:r,className:a(Zr({variant:t}),e),...i,children:[Ko("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[t==="sucess"&&pe(qr,{className:"w-5 h-5 text-green-500"}),t==="warning"&&pe(Qr,{className:"w-5 h-5 text-yellow-500"}),t==="error"&&pe(Xr,{className:"w-5 h-5 text-red-500"})]}),o]}));Kt.displayName=D.Root.displayName;var ea=Re.forwardRef(({className:e,...t},o)=>pe(D.Action,{ref:o,className:a("inline-flex shrink-0 items-center justify-center bg-transparent text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-0 focus:ring-ring focus:ring-offset-0 disabled:pointer-events-none disabled:opacity-50 text-blue-600 hover:underline mt-2",e),...t}));ea.displayName=D.Action.displayName;var Jt=Re.forwardRef(({className:e,...t},o)=>pe(D.Close,{ref:o,className:a("absolute right-2 top-2 rounded-md transition-opacity hover:opacity-70 focus:opacity-100 focus:outline-none focus:ring-2 text-gray-800 w-8 h-8 flex items-center justify-center",e),"toast-close":"",...t,children:pe(Ur,{className:"h-5 w-5"})}));Jt.displayName=D.Close.displayName;var eo=Re.forwardRef(({className:e,...t},o)=>pe(D.Title,{ref:o,className:a("text-base font-semibold leading-tight",e),...t}));eo.displayName=D.Title.displayName;var to=Re.forwardRef(({className:e,...t},o)=>pe(D.Description,{ref:o,className:a("text-sm opacity-90",e),...t}));to.displayName=D.Description.displayName;import{jsx as Pt,jsxs as oo}from"react/jsx-runtime";function Yr(){let{toasts:e}=Zt();return oo(Jo,{children:[e.map(function({id:t,title:o,description:i,action:r,...n}){return oo(Kt,{...n,children:[oo("div",{className:"grid gap-2",children:[o&&Pt(eo,{children:o}),i&&Pt(to,{children:i})]}),r,Pt(Jt,{})]},t)}),Pt(Yt,{})]})}import*as ta from"react";import{Slot as Kr}from"@radix-ui/react-slot";import{cva as Jr}from"class-variance-authority";import{jsx as en}from"react/jsx-runtime";var oa=Jr("inline-flex items-center justify-center whitespace-nowrap font-semibold transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed border border-transparent flex-nowrap",{variants:{variant:{default:"text-blue-700 hover:underline hover:bg-blue-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline",primary:"text-pink-500 hover:underline hover:bg-pink-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline",secondary:"text-gray-700 hover:underline hover:text-blue-700 hover:bg-blue-50 disabled:bg-transparent disabled:text-gray-400 disabled:no-underline"},size:{default:"text-sm",lg:"text-base"}},defaultVariants:{variant:"default",size:"default"}}),Ct=ta.forwardRef(({className:e,variant:t="default",size:o="default",asChild:i=!1,isDisabled:r=!1,...n},l)=>{let d=i?Kr:"button",c=a(oa({variant:t,size:o,className:e}));return en(d,{className:c,disabled:r,ref:l,...n,children:n.children})});Ct.displayName="TextButton";import*as ao from"react";import*as q from"@radix-ui/react-tooltip";import{jsx as ra}from"react/jsx-runtime";var tn=q.Provider,on=q.Root,an=q.Trigger,aa=ao.forwardRef((e,t)=>ra(q.Arrow,{ref:t,className:a("drop-shadow-md",e.className),...e}));aa.displayName=q.Arrow.displayName;var ia=ao.forwardRef(({className:e,type:t="dark",sideOffset:o=4,...i},r)=>ra(q.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}));ia.displayName=q.Content.displayName;import{forwardRef as rn,useEffect as nn,useRef as sn,useState as ln}from"react";import{QuestionMarkCircleIcon as mn,XCircleIcon as dn,XCircleIcon as cn}from"@heroicons/react/16/solid";import{jsx as ue,jsxs as io}from"react/jsx-runtime";var pn=rn(({disabled:e,isError:t,message:o,label:i,className:r,inputClassName:n,withClearButton:l,size:d,onChange:c,onFocus:h,onClickClear:p,value:A,defaultValue:V,type:Z="text",...I},T)=>{let[Y,O]=ln(!1),Ne=sn(null),k=M=>{M&&!Y&&O(!0),!M&&Y&&O(!1)},lt=M=>{l&&k(M.target.value),c?.(M)},ze=M=>{l&&k(M.target.value),h?.(M)},Fe=()=>{let M=Ne.current?.querySelector("input");M&&(p?.(M.value),M.value="",M.focus(),O(!1))};return nn(()=>{k(V||A)},[A,V]),io("div",{className:a(r,t&&"mobase-text-input-error"),ref:Ne,children:[io("div",{className:"relative",children:[i&&ue("span",{className:a("mobase-text-input-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",d===2&&" -top-2.5 text-sm"),children:i}),ue("input",{disabled:e,type:Z,ref:T,className:a("mobase-text-input-box bg-white w-full transition-all text-sm rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 h-11 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none block outline-none",d===2&&"h-12 text-base",n),onChange:lt,onFocus:ze,value:A,defaultValue:V,...I}),l&&Y&&ue("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:Fe,children:ue(dn,{strokeWidth:2,width:20,height:20})})]}),o&&io("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[t?ue(cn,{width:16,height:16,className:"text-red-500"}):ue(mn,{width:16,height:16,className:"text-gray-500"}),ue("span",{className:a("text-gray-500 ",d===2?"text-sm":"text-xs"),children:o})]}),ue("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 ze from"react";import*as W from"@radix-ui/react-accordion";import{Chev
|
|
|
117
117
|
color: rgb(var(--mobase-red-500) / 1);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
`})]})});import{MinusCircleIcon as Gr,PlusCircleIcon as $r}from"@heroicons/react/24/outline";import{useRef as Ko,forwardRef as jr,useState as Yt,useEffect as Jo}from"react";import{jsx as Ee,jsxs as ea}from"react/jsx-runtime";var Ur=jr(({value:e=0,min:t=0,max:o=999,disabled:i=!1,disabledInput:r=!1,step:n=1,inputClassName:m="",stepperClassName:c="",className:d="",onChange:b=()=>{},onChangeInputStepper:P,onDecrement:A,onIncrement:V,...Q},E)=>{let T=Ko(null),[Z,O]=Yt(!1),[ye,k]=Yt(!1),[ot,_e]=Yt(""),Be=Ko(null),M=u=>{Number(u)>=o?O(!0):O(!1),Number(u)>t?k(!1):k(!0)},Si=()=>{if(i||Z)return;let u=T?.current?.querySelector("input");if(!u)return;let z=0;z=Math.min(Number(u.value)+n,o),M(z),u.value=String(z),_e(u.value||""),P?.(u.value),V?.(u.value)},Ai=()=>{if(i||ye)return;let u=T?.current?.querySelector("input");if(!u)return;let z=0;z=Math.max(Number(u.value)-n,0),M(z),u.value=String(z),_e(u.value||""),P?.(u.value),A?.(u.value)},Mi=u=>{if(!u)return;let z=u?.target?.value;z?.match(/^[0-9]*$/)||(z=z.replace(/[^0-9]/g,"")),M(z);let at=parseInt(z,10);Number.isNaN(at)||at<t?u.target.value=String(t):at>=o?u.target.value=String(o):u.target.value=String(at),_e(u?.target?.value||""),P?.(u.target.value),b?.(u)};return Jo(()=>{let u=T?.current?.querySelector("input");u&&M(u?.value)},[]),Jo(()=>{let u=T?.current?.querySelector("input");u&&Be?.current&&(u.style.width=`${Be.current.offsetWidth+10}px`)},[ot]),ea("div",{ref:T,className:"flex items-center space-x-1",children:[Ee(pe,{id:"btn-minus",className:a(!ye&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:Ai,children:Ee(Gr,{className:"w-8 h-8 "})}),ea("div",{children:[Ee("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:E,min:t,max:o,onChange:u=>Mi(u),id:"numberInput",disabled:i||r,autoComplete:"off",...Q,className:a("text-gray-800 min-w-7 border-gray-300 border transition-width duration-100 focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 w-7 h-7 rounded-md text-center bg-white",m)}),Ee("span",{ref:Be,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:ot||" "})]}),Ee(pe,{id:"btn-plus",className:a(!Z&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",c),variant:"transparent",onClick:Si,children:Ee($r,{className:"w-8 h-8 "})})]})});import*as ee from"react";import{ChevronDownIcon as ta,ChevronUpIcon as qr,CheckIcon as Qr,XCircleIcon as Zr}from"@heroicons/react/16/solid";import{QuestionMarkCircleIcon as Xr}from"@heroicons/react/24/outline";import*as g from"@radix-ui/react-select";import{jsx as y,jsxs as Ue}from"react/jsx-runtime";var Yr=ee.forwardRef(({className:e,children:t,label:o,message:i,size:r,isError:n,disabled:m,...c},d)=>Ue("div",{ref:d,className:a("select-mobase relative",e,m?"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&&y("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}),y(g.Root,{disabled:m,...c,children:t}),i&&Ue("div",{className:a("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?y(Zr,{width:16,height:16}):y(Xr,{width:16,height:16}),y("span",{className:a(r===2?"text-sm":"text-xs"),children:i})]})]})),Kr=g.Value,oa=ee.forwardRef(({className:e,children:t,...o},i)=>Ue(g.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:[y("div",{className:"line-clamp-1 text-left",children:t}),y(g.Icon,{asChild:!0,children:y(ta,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));oa.displayName=g.Trigger.displayName;var Kt=ee.forwardRef(({className:e,...t},o)=>y(g.ScrollUpButton,{ref:o,className:a("flex cursor-default items-center justify-center py-1",e),...t,children:y(qr,{className:"h-5 w-5"})}));Kt.displayName=g.ScrollUpButton.displayName;var Jt=ee.forwardRef(({className:e,...t},o)=>y(g.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:y(ta,{className:"h-5 w-5"})}));Jt.displayName=g.ScrollDownButton.displayName;var aa=ee.forwardRef(({className:e,children:t,position:o="popper",...i},r)=>y(g.Portal,{children:Ue(g.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:[y(Kt,{}),y(g.Viewport,{className:a("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),y(Jt,{})]})}));aa.displayName=g.Content.displayName;var Jr=ee.forwardRef(({className:e,children:t,...o},i)=>y(g.Group,{ref:i,className:a("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),ia=ee.forwardRef(({className:e,...t},o)=>y(g.Label,{ref:o,className:a("pr-2 pl-8 py-1.5 text-sm font-semibold z-[1]",e),...t}));ia.displayName=g.Label.displayName;var en=ee.forwardRef(({className:e,children:t,...o},i)=>Ue(g.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:[y("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:y(g.ItemIndicator,{children:y(Qr,{className:"h-4 w-4"})})}),y(g.ItemText,{children:t})]})),ra=ee.forwardRef(({className:e,...t},o)=>y(g.Separator,{ref:o,className:a("-mx-1 my-1 h-px bg-muted",e),...t}));ra.displayName=g.Separator.displayName;import*as Y from"react";import*as C from"@radix-ui/react-navigation-menu";import{cva as tn}from"class-variance-authority";import{ChevronDownIcon as on}from"@heroicons/react/16/solid";import{jsx as te,jsxs as ln}from"react/jsx-runtime";var na=Y.createContext(null),an=({value:e,children:t})=>te(na.Provider,{value:e,children:t}),rn=()=>{let e=Y.useContext(na);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},ht=Y.forwardRef(({className:e,children:t,alignDropdown:o="left",...i},r)=>te(an,{value:{alignDropdown:o},children:te(C.Root,{ref:r,className:a("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...i,children:t})}));ht.displayName=C.Root.displayName;var vt=Y.forwardRef(({className:e,...t},o)=>te(C.List,{ref:o,className:a("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));vt.displayName=C.List.displayName;var bt=C.Item,xt=tn(ne({variant:"transparent",size:"sm"})),yt=Y.forwardRef(({className:e,children:t,...o},i)=>ln(C.Trigger,{ref:i,className:a(xt(),"group px-2",e),...o,children:[t," ",te(on,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));yt.displayName=C.Trigger.displayName;var wt=Y.forwardRef(({className:e,...t},o)=>{let{alignDropdown:i}=rn();return te(C.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})});wt.displayName=C.Content.displayName;var qe=C.Link,nn=Y.forwardRef(({className:e,...t},o)=>te("div",{className:a("absolute left-0 top-full flex justify-center"),children:te(C.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})}));nn.displayName=C.Viewport.displayName;var sn=Y.forwardRef(({className:e,...t},o)=>te(C.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:te("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));sn.displayName=C.Indicator.displayName;import*as la from"react";import*as Qe from"@radix-ui/react-switch";import{jsx as sa}from"react/jsx-runtime";var ma=la.forwardRef(({className:e,...t},o)=>sa(Qe.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:sa(Qe.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")})}));ma.displayName=Qe.Root.displayName;import*as eo from"react";import*as fe from"@radix-ui/react-radio-group";import{Circle as mn}from"lucide-react";import{jsx as Nt}from"react/jsx-runtime";var ca=eo.forwardRef(({className:e,...t},o)=>Nt(fe.Root,{className:a("grid gap-2",e),...t,ref:o}));ca.displayName=fe.Root.displayName;var da=eo.forwardRef(({className:e,...t},o)=>Nt(fe.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:Nt(fe.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:Nt(mn,{className:"h-2 w-2 fill-current text-current"})})}));da.displayName=fe.Item.displayName;import{jsx as Ie,jsxs as pa}from"react/jsx-runtime";var cn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:n=!1})=>{let m=n?{target:"_blank",rel:"noopener noreferrer"}:{};return Ie("li",{className:"",children:Ie(qe,{asChild:!0,children:pa("a",{className:a(" select-none space-y-1 rounded-md px-2.5 py-2 leading-none no-underline outline-none transition-colors hover:bg-pink-50 hover:text-pink-500 focus:bg-pink-50 focus:text-pink-500 flex flex-nowrap space-x-2 items-center min-h-9",e),href:r,...m,children:[t&&Ie("div",{className:"w-7 h-7 shrink-0",children:Ie("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),pa("div",{className:" ",children:[Ie("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),i&&Ie("p",{className:"line-clamp-1 text-xs mt-1 text-gray-500",children:i})]})]})})})},ga=cn;import{jsx as ue,jsxs as pn}from"react/jsx-runtime";var dn=({data:e,alignDropdown:t})=>ue(ht,{alignDropdown:t,children:ue(vt,{children:e.map(o=>{let i=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?pn(bt,{className:"relative",children:[ue(yt,{children:o.title}),ue(wt,{children:ue("ul",{className:a("grid w-[250px] gap-1 p-2.5 grid-cols-1",o.dropDownCompact===!0&&o.subMenu.length>6&&" w-[500px] md:grid-cols-2 ",o.dropDownCompact===!0&&o.subMenu.length>12&&" w-[750px] md:grid-cols-3 "),children:o.subMenu&&o.subMenu.map(r=>ue(ga,{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):ue(bt,{className:"relative",children:ue(qe,{href:o.url,className:xt(),...i,children:o.title})},o.id)})})}),fa=dn;import{useEffect as bn,useState as xn}from"react";var Pt=[.24,.25,.05,1];import{useKey as yn}from"react-use";import ba from"next/router";import{jsx as Ze,jsxs as ua}from"react/jsx-runtime";var gn=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:n=!1})=>{let m=n?{target:"_blank",rel:"noopener noreferrer"}:{};return Ze("li",{className:"min-h-8",children:ua("a",{className:a(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:r,...m,children:[t&&Ze("div",{className:"w-6 h-6 shrink-0",children:Ze("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),ua("div",{className:" ",children:[Ze("div",{className:"text-sm text-gray-800 leading-none line-clamp-1",children:o}),i&&Ze("p",{className:"line-clamp-1 text-xs mt-1 text-gray-500",children:i})]})]})})},ha=gn;import{motion as fn}from"framer-motion";import{jsx as Ce,jsxs as vn}from"react/jsx-runtime";var un={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:Pt}},exit:{opacity:0,transition:{duration:.05}}},hn=({data:e})=>Ce(it,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return Ce(fn.div,{variants:un,children:t.hasDropdown?vn(rt,{value:t.id,children:[Ce(nt,{className:"py-3",children:t.title}),Ce(st,{children:Ce("ul",{className:a("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(i=>Ce(ha,{title:i.title,href:i.url,newTab:i.newTab,icon:t.dropDownCompact===!0?i.icon:"",children:t.dropDownCompact===!0?i.description:""},i.title))})})]}):Ce("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)})}),va=hn;import{ArrowDownTrayIcon as wn}from"@heroicons/react/16/solid";import{motion as to,AnimatePresence as Nn,LazyMotion as Pn,domAnimation as Cn}from"framer-motion";import{jsx as p,jsxs as I}from"react/jsx-runtime";var Rn=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,Tn=({data:e,className:t})=>{let[o,i]=xn(!1);yn("Escape",()=>i(!1)),bn(()=>{if(!o)return;let m=Rn();function c(){i(!1)}return document.body.style.position="fixed",document.body.style.width="100%",ba.events.on("routeChangeComplete",c),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:m||0,behavior:"instant"}),ba.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:Pt}},exit:{opacity:0,transition:{duration:.15}}};return I("div",{className:a(t),children:[I("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>i(!o),children:[p("span",{className:"sr-only",children:"Navigation"}),p(to.div,{animate:o?"hidden":"visible",variants:r,children:p("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:p("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),p(to.div,{animate:o?"visible":"hidden",variants:r,children:p("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:p("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),p(Pn,{features:Cn,children:p(Nn,{mode:"wait",children:o&&I(to.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:[p(va,{data:e}),I("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[p("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),I("div",{className:"flex flex-nowrap",children:[p("div",{className:"flex-initial",children:p("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:p("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),p("div",{className:"ml-3 flex-initial",children:p("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:p("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),p("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),I("ul",{className:"mb-2 text-sm text-gray-500",children:[I("li",{className:"mb-1",children:["Hotline :\xA0",p("a",{href:`tel:${ie.Support.Hotline}`,className:"text-gray-600",children:ie.Support.Hotline_Format})]}),I("li",{className:"mb-1",children:["Email :\xA0",p("a",{href:`mailto:${ie.Support.Email}`,className:"text-gray-600",children:ie.Support.Email})]})]}),p("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:I("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:[p("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:p("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:I("g",{children:[p("title",{children:"Asset 1"}),p("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 gn,PlusCircleIcon as fn}from"@heroicons/react/24/outline";import{useRef as na,forwardRef as un,useState as ro,useEffect as sa}from"react";import{jsx as He,jsxs as la}from"react/jsx-runtime";var hn=un(({value:e=0,min:t=0,max:o=999,disabled:i=!1,disabledInput:r=!1,step:n=1,inputClassName:l="",stepperClassName:d="",className:c="",onChange:h=()=>{},onChangeInputStepper:p,onDecrement:A,onIncrement:V,...Z},I)=>{let T=na(null),[Y,O]=ro(!1),[Ne,k]=ro(!1),[lt,ze]=ro(""),Fe=na(null),M=v=>{Number(v)>=o?O(!0):O(!1),Number(v)>t?k(!1):k(!0)},Bi=()=>{if(i||Y)return;let v=T?.current?.querySelector("input");if(!v)return;let z=0;z=Math.min(Number(v.value)+n,o),M(z),v.value=String(z),ze(v.value||""),p?.(v.value),V?.(v.value)},Vi=()=>{if(i||Ne)return;let v=T?.current?.querySelector("input");if(!v)return;let z=0;z=Math.max(Number(v.value)-n,0),M(z),v.value=String(z),ze(v.value||""),p?.(v.value),A?.(v.value)},zi=v=>{if(!v)return;let z=v?.target?.value;z?.match(/^[0-9]*$/)||(z=z.replace(/[^0-9]/g,"")),M(z);let mt=parseInt(z,10);Number.isNaN(mt)||mt<t?v.target.value=String(t):mt>=o?v.target.value=String(o):v.target.value=String(mt),ze(v?.target?.value||""),p?.(v.target.value),h?.(v)};return sa(()=>{let v=T?.current?.querySelector("input");v&&M(v?.value)},[]),sa(()=>{let v=T?.current?.querySelector("input");v&&Fe?.current&&(v.style.width=`${Fe.current.offsetWidth+10}px`)},[lt]),la("div",{ref:T,className:"flex items-center space-x-1",children:[He(fe,{id:"btn-minus",className:a(!Ne&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",d),variant:"transparent",onClick:Vi,children:He(gn,{className:"w-8 h-8 "})}),la("div",{children:[He("input",{pattern:"[0-9]*",inputMode:"numeric",defaultValue:e,ref:I,min:t,max:o,onChange:v=>zi(v),id:"numberInput",disabled:i||r,autoComplete:"off",...Z,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)}),He("span",{ref:Fe,style:{visibility:"hidden",position:"absolute",whiteSpace:"pre"},children:lt||" "})]}),He(fe,{id:"btn-plus",className:a(!Y&&!i?"cursor-pointer text-pink-500":"text-gray-400 cursor-default",d),variant:"transparent",onClick:Bi,children:He(fn,{className:"w-8 h-8 "})})]})});import*as ae from"react";import{ChevronDownIcon as ma,ChevronUpIcon as vn,CheckIcon as bn,XCircleIcon as xn}from"@heroicons/react/16/solid";import{QuestionMarkCircleIcon as yn}from"@heroicons/react/24/outline";import*as f from"@radix-ui/react-select";import{jsx as w,jsxs as Ke}from"react/jsx-runtime";var wn=ae.forwardRef(({className:e,children:t,label:o,message:i,size:r,isError:n,disabled:l,...d},c)=>Ke("div",{ref:c,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,...d,children:t}),i&&Ke("div",{className:a("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?w(xn,{width:16,height:16}):w(yn,{width:16,height:16}),w("span",{className:a(r===2?"text-sm":"text-xs"),children:i})]})]})),Nn=f.Value,da=ae.forwardRef(({className:e,children:t,...o},i)=>Ke(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(ma,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));da.displayName=f.Trigger.displayName;var no=ae.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(vn,{className:"h-5 w-5"})}));no.displayName=f.ScrollUpButton.displayName;var so=ae.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(ma,{className:"h-5 w-5"})}));so.displayName=f.ScrollDownButton.displayName;var ca=ae.forwardRef(({className:e,children:t,position:o="popper",...i},r)=>w(f.Portal,{children:Ke(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(no,{}),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(so,{})]})}));ca.displayName=f.Content.displayName;var Pn=ae.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})),pa=ae.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}));pa.displayName=f.Label.displayName;var Cn=ae.forwardRef(({className:e,children:t,...o},i)=>Ke(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(bn,{className:"h-4 w-4"})})}),w(f.ItemText,{children:t})]})),ga=ae.forwardRef(({className:e,...t},o)=>w(f.Separator,{ref:o,className:a("-mx-1 my-1 h-px bg-muted",e),...t}));ga.displayName=f.Separator.displayName;import*as J from"react";import*as C from"@radix-ui/react-navigation-menu";import{cva as Rn}from"class-variance-authority";import{ChevronDownIcon as Tn}from"@heroicons/react/16/solid";import{jsx as ie,jsxs as Mn}from"react/jsx-runtime";var fa=J.createContext(null),kn=({value:e,children:t})=>ie(fa.Provider,{value:e,children:t}),Dn=()=>{let e=J.useContext(fa);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},Rt=J.forwardRef(({className:e,children:t,alignDropdown:o="left",...i},r)=>ie(kn,{value:{alignDropdown:o},children:ie(C.Root,{ref:r,className:a("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...i,children:t})}));Rt.displayName=C.Root.displayName;var Tt=J.forwardRef(({className:e,...t},o)=>ie(C.List,{ref:o,className:a("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));Tt.displayName=C.List.displayName;var kt=C.Item,Dt=Rn($({variant:"transparent",size:"sm"})),St=J.forwardRef(({className:e,children:t,...o},i)=>Mn(C.Trigger,{ref:i,className:a(Dt(),"group px-2",e),...o,children:[t," ",ie(Tn,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));St.displayName=C.Trigger.displayName;var At=J.forwardRef(({className:e,...t},o)=>{let{alignDropdown:i}=Dn();return ie(C.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})});At.displayName=C.Content.displayName;var Je=C.Link,Sn=J.forwardRef(({className:e,...t},o)=>ie("div",{className:a("absolute left-0 top-full flex justify-center"),children:ie(C.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})}));Sn.displayName=C.Viewport.displayName;var An=J.forwardRef(({className:e,...t},o)=>ie(C.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:ie("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));An.displayName=C.Indicator.displayName;import*as ha from"react";import*as et from"@radix-ui/react-switch";import{jsx as ua}from"react/jsx-runtime";var va=ha.forwardRef(({className:e,...t},o)=>ua(et.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:ua(et.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")})}));va.displayName=et.Root.displayName;import*as lo from"react";import*as he from"@radix-ui/react-radio-group";import{Circle as In}from"lucide-react";import{jsx as Mt}from"react/jsx-runtime";var ba=lo.forwardRef(({className:e,...t},o)=>Mt(he.Root,{className:a("grid gap-2",e),...t,ref:o}));ba.displayName=he.Root.displayName;var xa=lo.forwardRef(({className:e,...t},o)=>Mt(he.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:Mt(he.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:Mt(In,{className:"h-2 w-2 fill-current text-current"})})}));xa.displayName=he.Item.displayName;import{jsx as _e,jsxs as ya}from"react/jsx-runtime";var Ln=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:n=!1})=>{let l=n?{target:"_blank",rel:"noopener noreferrer"}:{};return _e("li",{className:"",children:_e(Je,{asChild:!0,children:ya("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&&_e("div",{className:"w-7 h-7 shrink-0 mt-1",children:_e("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),ya("div",{className:" ",children:[_e("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),i&&_e("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:i})]})]})})})},wa=Ln;import{jsx as ve,jsxs as Hn}from"react/jsx-runtime";var En=({data:e,alignDropdown:t})=>ve(Rt,{alignDropdown:t,children:ve(Tt,{children:e.map(o=>{let i=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?Hn(kt,{className:"relative",children:[ve(St,{children:o.title}),ve(At,{children:ve("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=>ve(wa,{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):ve(kt,{className:"relative",children:ve(Je,{href:o.url,className:Dt(),...i,children:o.title})},o.id)})})}),Na=En;import{useEffect as On,useState as Wn}from"react";var It=[.24,.25,.05,1];import{useKey as Gn}from"react-use";import Ta from"next/router";import{jsx as tt,jsxs as Pa}from"react/jsx-runtime";var _n=({className:e="",icon:t="",title:o,children:i="",href:r="",newTab:n=!1})=>{let l=n?{target:"_blank",rel:"noopener noreferrer"}:{};return tt("li",{className:"min-h-8",children:Pa("a",{className:a(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:r,...l,children:[t&&tt("div",{className:"w-6 h-6 shrink-0",children:tt("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),Pa("div",{className:" ",children:[tt("div",{className:"text-sm text-gray-800 line-clamp-1",children:o}),i&&tt("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:i})]})]})})},Ca=_n;import{motion as Bn}from"framer-motion";import{jsx as Te,jsxs as Fn}from"react/jsx-runtime";var Vn={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:It}},exit:{opacity:0,transition:{duration:.05}}},zn=({data:e})=>Te(dt,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return Te(Bn.div,{variants:Vn,children:t.hasDropdown?Fn(ct,{value:t.id,children:[Te(pt,{className:"py-3",children:t.title}),Te(gt,{children:Te("ul",{className:a("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(i=>Te(Ca,{title:i.title,href:i.url,newTab:i.newTab,icon:t.dropDownCompact===!0?i.icon:"",children:t.dropDownCompact===!0?i.description:""},i.title))})})]}):Te("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)})}),Ra=zn;import{ArrowDownTrayIcon as $n}from"@heroicons/react/16/solid";import{motion as mo,AnimatePresence as jn,LazyMotion as Un,domAnimation as qn}from"framer-motion";import{jsx as g,jsxs as L}from"react/jsx-runtime";var Qn=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,Xn=({data:e,className:t})=>{let[o,i]=Wn(!1);Gn("Escape",()=>i(!1)),On(()=>{if(!o)return;let l=Qn();function d(){i(!1)}return document.body.style.position="fixed",document.body.style.width="100%",Ta.events.on("routeChangeComplete",d),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:l||0,behavior:"instant"}),Ta.events.off("routeChangeComplete",d)}},[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:It}},exit:{opacity:0,transition:{duration:.15}}};return L("div",{className:a(t),children:[L("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>i(!o),children:[g("span",{className:"sr-only",children:"Navigation"}),g(mo.div,{animate:o?"hidden":"visible",variants:r,children:g("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:g("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),g(mo.div,{animate:o?"visible":"hidden",variants:r,children:g("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:g("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),g(Un,{features:qn,children:g(jn,{mode:"wait",children:o&&L(mo.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:[g(Ra,{data:e}),L("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[g("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),L("div",{className:"flex flex-nowrap",children:[g("div",{className:"flex-initial",children:g("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:g("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),g("div",{className:"ml-3 flex-initial",children:g("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:g("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),g("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),L("ul",{className:"mb-2 text-sm text-gray-500",children:[L("li",{className:"mb-1",children:["Hotline :\xA0",g("a",{href:`tel:${se.Support.Hotline}`,className:"text-gray-600",children:se.Support.Hotline_Format})]}),L("li",{className:"mb-1",children:["Email :\xA0",g("a",{href:`mailto:${se.Support.Email}`,className:"text-gray-600",children:se.Support.Email})]})]}),g("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:L("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:[g("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:g("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:L("g",{children:[g("title",{children:"Asset 1"}),g("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`}),
|
|
122
|
+
c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),g("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`})]})})}),
|
|
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`})]})})}),g("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),g("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),g("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),L("ul",{className:"mb-2 text-sm text-gray-500",children:[L("li",{className:"mb-1",children:["Hotline :\xA0",g("a",{className:"text-gray-600",href:`tel:${se.Business.Phome}`,children:se.Business.Phome_Format})]}),L("li",{className:"mb-1",children:["Email :\xA0",L("a",{href:`mailto:${se.Business.Email}`,className:"text-gray-600",children:[" ",se.Business.Email]})]})]}),g("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:L("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:[g("div",{className:"absolute left-1 top-1 ",children:g("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),g("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),g("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]}),g("div",{className:"fixed inset-x-0 bottom-0 grid grid-cols-1 gap-x-5 px-4 py-6 bg-white",children:L("a",{className:a("w-full tracking-cta-header",$({variant:"primary",size:"lg"})),target:"_blank",href:"http://momo.vn/download",children:[g($n,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]})})]})})})]})},ka=Xn;import Zn from"html-react-parser";import{ArrowDownTrayIcon as Yn}from"@heroicons/react/16/solid";import{useState as Kn}from"react";import{jsx as ee,jsxs as ke}from"react/jsx-runtime";var Da=({className:e,dataMenu:t,serviceInfo:o,hasDownloadApp:i=!1,navigationRight:r,isSticky:n=!0,alignDropdown:l="left"})=>{let{logo:d,name:c,url:h}=o||{},[p,A]=Kn(!1);return ke("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:ke("div",{className:"relative flex items-center ",children:[ke("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&&ke("a",{href:h,title:c,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:d,className:"w-9 h-9",alt:"MoMo"}),ee("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:c&&Zn(c)})]}),ee("div",{className:"relative lg:ml-2 xl:ml-4 hidden lg:flex items-center ",children:ee(Na,{data:t,alignDropdown:l})}),ke("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[r&&r,i&&ke("div",{className:" hidden sm:flex",children:[ke(j,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>A(!0),children:[" ",ee(Yn,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),ee(Xe,{open:p,onOpenChange:()=>A(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),ee(ka,{data:t,className:"lg:hidden "})]})]})})]})};Da.displayName="HeaderNavigation";import{useState as Jn}from"react";import{Fragment as ts,jsx as m,jsxs as b}from"react/jsx-runtime";var Sa=({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})]})}),es=({primaryMenu:e,secondaryMenu:t})=>{let[o,i]=Jn(null);return b(ts,{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(Sa,{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(Sa,{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:uo.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:${H.Support.Hotline}`,children:H.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:${H.Support.Email}`,children:H.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:${H.Support.Phone_Ext_1}`,children:H.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:${H.Support.Phone_Ext_2}`,children:H.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:${H.Support.Phone_Ext_3}`,children:H.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
|
|
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
|
-
c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),
|
|
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`})]})})}),l("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),l("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),h("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[l("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),h("div",{className:"mt-2 text-sm md:mt-3",children:[l("span",{className:"text-white text-opacity-50",children:"Hotline : "}),l("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${H.Business.Phome}`,children:H.Business.Phome_Format})]}),h("div",{className:"mt-1 text-sm",children:[l("span",{className:"text-white text-opacity-50",children:"Email : "}),l("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${H.Business.Email}`,children:H.Business.Email})]}),h("div",{className:"mt-1 text-sm",children:[l("span",{className:"text-white text-opacity-50",children:"Website : "}),l("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"})]}),l("div",{className:"mt-3 flex",children:l("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:h("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[l("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:h("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[l("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"}),l("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"}),l("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"}),l("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"}),l("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"}),l("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"}),l("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"}),l("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"}),l("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"})]})}),l("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),l("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),h("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:[h("div",{className:"h-auto",children:[l("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"}),l("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:l("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:Ve&&Ve.map((r,n)=>l("li",{className:"inline-block",children:l("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:l("img",{src:r.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),h("div",{className:"h-auto",children:[l("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"}),h("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[l("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:l("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),l("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:St&&St.map((r,n)=>h("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${r.Image}) center center / contain no-repeat`},children:[l(J,{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}),l("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),l(Ge,{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))}),l("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:l("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:Ve&&Ve.map((r,n)=>l("li",{children:l("a",{href:r.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:l("img",{alt:r.Name,src:r.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),h("div",{className:"h-auto",children:[l("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"}),h("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[h("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),l("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:l("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),l("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:h("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[h("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[l("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),h("div",{className:"shrink pl-3",children:[l("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"}),l("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"})]})]}),l("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"}),h("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()]})]})}),l("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"})]})})})]}),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:${H.Business.Phome}`,children:H.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:${H.Business.Email}`,children:H.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:Oe&&Oe.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:Vt&&Vt.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(j,{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(Xe,{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:Oe&&Oe.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:`
|
|
129
129
|
footer .button-download {
|
|
130
130
|
max-width: 150px;
|
|
131
131
|
}
|
|
132
|
-
`})]})},
|
|
132
|
+
`})]})},Aa=es;import{jsx as Ma}from"react/jsx-runtime";var os=({className:e,primaryMenu:t,secondaryMenu:o})=>Ma("footer",{className:a("grid grid-cols-1 flex-wrap bg-gray-900",e),children:Ma(Aa,{primaryMenu:t,secondaryMenu:o})});import*as De from"react";import{jsx as Be}from"react/jsx-runtime";var Ia=De.forwardRef(({className:e,...t},o)=>Be("div",{ref:o,className:a("rounded-xl border bg-card text-card-foreground shadow",e),...t}));Ia.displayName="Card";var La=De.forwardRef(({className:e,...t},o)=>Be("div",{ref:o,className:a("flex flex-col space-y-1.5 p-6",e),...t}));La.displayName="CardHeader";var Ea=De.forwardRef(({className:e,...t},o)=>Be("h3",{ref:o,className:a("font-semibold leading-none tracking-tight",e),...t}));Ea.displayName="CardTitle";var Ha=De.forwardRef(({className:e,...t},o)=>Be("p",{ref:o,className:a("text-sm text-muted-foreground",e),...t}));Ha.displayName="CardDescription";var _a=De.forwardRef(({className:e,...t},o)=>Be("div",{ref:o,className:a("p-6 pt-0",e),...t}));_a.displayName="CardContent";var Ba=De.forwardRef(({className:e,...t},o)=>Be("div",{ref:o,className:a("flex items-center p-6 pt-0",e),...t}));Ba.displayName="CardFooter";import*as Q from"react";import{Command as B}from"cmdk";import{XCircleIcon as as,MagnifyingGlassIcon as is,CheckIcon as rs}from"@heroicons/react/16/solid";import{jsx as F,jsxs as ja}from"react/jsx-runtime";var co=Q.forwardRef(({className:e,...t},o)=>F(B,{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}));co.displayName=B.displayName;var ns=({children:e,...t})=>F(Qe,{...t,children:F(Le,{className:"overflow-hidden p-0 shadow-lg",children:F(co,{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})})}),Va=Q.forwardRef(({className:e,onClickClear:t,...o},i)=>{let r=Q.useRef(null),[n,l]=Q.useState(""),d=()=>{!n||n?.length<=0||(l(""),t?.(n))};return ja("div",{ref:r,className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[F(is,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),F(B.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}),F(as,{onClick:d,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")})]})});Va.displayName=B.Input.displayName;var za=Q.forwardRef(({className:e,...t},o)=>F(B.List,{ref:o,className:a("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...t}));za.displayName=B.List.displayName;var Fa=Q.forwardRef((e,t)=>F(B.Empty,{ref:t,className:"py-6 text-gray-900 text-center text-sm",...e}));Fa.displayName=B.Empty.displayName;var Oa=Q.forwardRef(({className:e,...t},o)=>F(B.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}));Oa.displayName=B.Group.displayName;var Wa=Q.forwardRef(({className:e,...t},o)=>F(B.Separator,{ref:o,className:a("-mx-1 text-gray-900 h-px bg-border",e),...t}));Wa.displayName=B.Separator.displayName;var Ga=Q.forwardRef(({className:e,children:t,isActive:o,...i},r)=>ja(B.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:[F(rs,{className:a("h-4 w-4 mr-2",o?"opacity-100":"opacity-0")}),t]}));Ga.displayName=B.Item.displayName;var $a=({className:e,...t})=>F("span",{className:a("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...t});$a.displayName="CommandShortcut";import{ChevronDownIcon as ss}from"@heroicons/react/16/solid";import{jsx as Lt,jsxs as Ua}from"react/jsx-runtime";var ls=({className:e,value:t,label:o,children:i,placeholder:r})=>Ua("div",{className:"relative",children:[Ua(je,{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,Lt(ss,{className:"h-4 w-4 text-gray-700 flex-none"})]}),o&&Lt("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:o})]}),ms=({children:e,className:t})=>Lt(Ie,{className:a("!p-0 border-none",t),children:e}),ds=({open:e,onOpenChange:t,children:o})=>Lt($e,{open:e,onOpenChange:t,children:o});import{cva as Qa}from"class-variance-authority";import{forwardRef as cs}from"react";import{InformationCircleIcon as ps}from"@heroicons/react/24/outline";import{jsx as po,jsxs as qa}from"react/jsx-runtime";var gs=Qa("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"}}),fs=Qa("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"}}),us=cs(({type:e="neutral",message:t="",withAction:o=!1,onClickAction:i,className:r,disabled:n,actionClassName:l,...d},c)=>qa("div",{ref:c,className:a("",r,gs({typeDiv:e,disabled:n})),...d,children:[qa("div",{className:"flex items-center space-x-2",children:[po(ps,{className:a(fs({typeIcon:e,disabled:n})),width:20,height:20}),po("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&&po(Ct,{variant:"primary",onClick:()=>i?.(),className:a("",l),isDisabled:n,children:o})]}));import{forwardRef as hs,useEffect as vs,useRef as bs,useState as xs}from"react";import{MagnifyingGlassIcon as ys}from"@heroicons/react/20/solid";import{XCircleIcon as ws}from"@heroicons/react/24/outline";import{jsx as Ve,jsxs as Xa}from"react/jsx-runtime";var Ns=hs(({disabled:e,className:t,inputClassName:o,size:i,onChange:r,onFocus:n,onClickClear:l,value:d,defaultValue:c,type:h="text",...p},A)=>{let[V,Z]=xs(!1),I=bs(null),T=k=>{k&&!V&&Z(!0),!k&&V&&Z(!1)},Y=k=>{T(k.target.value),r?.(k)},O=k=>{T(k.target.value),n?.(k)},Ne=()=>{let k=I.current?.querySelector("input");k&&(l?.(k.value),k.value="",k.focus(),Z(!1))};return vs(()=>{T(c||d)},[d,c]),Xa("div",{className:a(t),ref:I,children:[Xa("div",{className:"relative flex items-center",children:[Ve("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 shrink-0 text-gray-500 duration-200 ",children:Ve(ys,{className:"w-4 h-4 text-gray-500"})}),Ve("input",{disabled:e,type:h,ref:A,className:a("mobase-text-input-box text-gray-900 h-10 bg-white w-full transition-all text-sm rounded-md border border-gray-300 placeholder:text-gray-500 px-9 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none block disabled:opacity-50",o),onChange:Y,onFocus:O,value:d,defaultValue:c,...p}),V&&Ve("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:Ne,children:Ve(ws,{strokeWidth:2,width:20,height:20})})]}),Ve("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
|
|
140
|
-
<div class="${
|
|
141
|
-
<img class="${O} " src="${e[
|
|
139
|
+
`})]})});import{Swiper as Ps,SwiperSlide as Cs}from"swiper/react";import{Navigation as Za,Lazy as Ya,Pagination as Rs}from"swiper";import*as S from"@radix-ui/react-dialog";import Se,{useEffect as Ts,useState as Ka}from"react";import{X as ks}from"lucide-react";import{ChevronLeftIcon as Ds,ChevronRightIcon as Ss}from"@heroicons/react/24/outline";import As from"lodash";import{jsx as N,jsxs as ge}from"react/jsx-runtime";var Ms=S.Root,Is=S.Portal,Ja=Se.forwardRef(({className:e,...t},o)=>N(S.Overlay,{ref:o,className:a("fixed inset-0 bg-black/80 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Ja.displayName=S.Overlay.displayName;var Ls=({clearActiveIndex:e})=>ge(S.Close,{onClick:()=>e?.(),className:"flex transition-all z-10 text-sm items-center space-x-1 absolute left-3 top-6 md:left-6 hover:bg-white/20 text-white rounded-md px-4 py-2",children:[N(ks,{className:"h-4 w-4 mt-0.5"}),N("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),Es=({children:e,src:t,alt:o,className:i,classNameImage:r,onClick:n})=>{let l=()=>{n?.()};return ge(S.Trigger,{className:a("aspect-[2/3] relative overflow-hidden rounded-lg",i),onClick:l,children:[e,N("img",{src:t,alt:o,className:a("w-full h-full object-cover rounded-lg",r)})]})},ei=Se.forwardRef(({className:e,children:t,...o},i)=>ge(Is,{children:[N(Ja,{className:"bg-black"}),ge(S.Content,{ref:i,className:a("h-full min-w-full border-none rounded-none z-[999] fixed bg-black left-[50%] top-[50%] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] ",e),...o,children:[t,N(Ls,{})]})]}));ei.displayName=S.Content.displayName;var Hs=({className:e,...t})=>N("div",{className:a("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});Hs.displayName="DialogHeader";var _s=({className:e,...t})=>N("div",{className:a("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});_s.displayName="DialogFooter";var Bs=Se.forwardRef(({className:e,...t},o)=>N(S.Title,{ref:o,className:a("text-lg font-semibold leading-none tracking-tight",e),...t}));Bs.displayName=S.Title.displayName;var Vs=Se.forwardRef(({className:e,...t},o)=>N(S.Description,{ref:o,className:a("text-sm text-muted-foreground",e),...t}));Vs.displayName=S.Description.displayName;var zs=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:i,classNameSubHtmSideBar:r,className:n,isPagination:l=!1})=>{let[d,c]=Ka(t),[h,p]=Ka(""),A=()=>{let I=As.filter(e,(Y,O)=>O===t),T=I.length>0?I[0]?.titleImage:"";p(T)};Ts(()=>{c(t),A()},[t]);let V={clickable:!0,renderBullet(I,T){let Y=a("aspect-[1/1] min-w-[96px] mt-40 min-h-[76px] !rounded-lg overflow-hidden",T),O=a("w-full h-full object-cover rounded-lg");return e[I]?.url?`
|
|
140
|
+
<div class="${Y} ">
|
|
141
|
+
<img class="${O} " src="${e[I]?.url}" alt="Slide ${I+1}" />
|
|
142
142
|
</div>
|
|
143
|
-
`:"<div></div>"}},
|
|
143
|
+
`:"<div></div>"}},Z=l?[Za,Ya,Rs]:[Za,Ya];return ge(ei,{className:a("flex py-0",n),children:[ge("div",{className:"lightbox flex-1 py-6",children:[N("div",{className:"flex items-center justify-end md:justify-center mt-2 w-full",children:ge("div",{children:[d?d+1:1," / ",e?.length]})}),ge(Ps,{initialSlide:t,onSlideChange:({realIndex:I})=>{c(I),A();let T=document.querySelector(".swiper-pagination-bullet-active");T&&T.scrollIntoView({behavior:"smooth",block:"nearest"})},onDestroy:()=>{c(t),A()},slidesPerView:"auto",className:"swiper lightboxSwiper",navigation:{nextEl:".lightbox .next-lightbox",prevEl:".lightbox .prev-lightbox"},pagination:V,modules:Z,lazy:{loadPrevNext:!0},children:[e.map((I,T)=>ge(Cs,{children:[N("div",{className:"absolute top-28 bottom-28 left-0 right-0 min-h-0 sm:left-20 sm:right-20",children:N("img",{src:I.url,alt:"",className:"absolute h-full w-full object-contain",loading:"lazy"})}),N("div",{className:"swiper-lazy-preloader swiper-lazy-preloader-white"}),N("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:h})]},T)),N(fe,{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:N(Ds,{className:"w-7 text-slate-900"})}),N(fe,{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:N(Ss,{className:"w-7 text-slate-900"})})]}),N("style",{children:`
|
|
144
144
|
.lightbox {
|
|
145
145
|
--lightbox-topnav: 112px;
|
|
146
146
|
--lightbox-botnav: 80px;
|
|
@@ -213,7 +213,7 @@ import*as ze from"react";import*as W from"@radix-ui/react-accordion";import{Chev
|
|
|
213
213
|
.swiper-pagination-bullet-active{
|
|
214
214
|
border: 2px solid white;
|
|
215
215
|
}
|
|
216
|
-
`})]}),o&&w("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})]})},vs=({children:e,className:t,open:o,onOpenChange:i})=>w("div",{className:a("lightbox-gallery ",t),children:w(ls,{open:o,onOpenChange:i,children:ke.Children?.map(e,r=>{if(ke.isValidElement(r)){let n={},m=Object.keys(n).reduce((c,d)=>(n[d]!==void 0&&(c[d]=n[d]),c),{});return ke.cloneElement(r,m)}return null})})});import*as he from"react";import*as ve from"@radix-ui/react-radio-group";import{Circle as bs}from"lucide-react";import*as Xe from"@radix-ui/react-checkbox";import{CheckIcon as xs}from"@heroicons/react/16/solid";import{jsx as oe,jsxs as Ya}from"react/jsx-runtime";var qa=he.createContext({hideIndicator:!1});function ys(){let e=he.useContext(qa);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var Qa=he.forwardRef(({className:e,hideIndicator:t=!1,...o},i)=>oe(qa.Provider,{value:{hideIndicator:t},children:oe(ve.Root,{className:a("grid gap-2",t&&"hide-indicator",e),...o,ref:i})}));Qa.displayName=ve.Root.displayName;var Za=he.forwardRef(({className:e,children:t,...o},i)=>{let r=ys(),{hideIndicator:n}=r??{};return Ya(ve.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:[oe("div",{className:"flex-1 min-w-0",children:t}),!n&&oe("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:oe(ve.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:oe(bs,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});Za.displayName=ve.Item.displayName;var Xa=he.forwardRef(({className:e,children:t,...o},i)=>Ya(Xe.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:[oe("div",{className:"flex-1 min-w-0",children:t}),oe("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:oe(Xe.Indicator,{className:a("flex items-center justify-center text-current"),children:oe(xs,{className:"h-4 w-4"})})})]}));Xa.displayName=Xe.Root.displayName;import{cva as ws}from"class-variance-authority";import{jsx as Ps}from"react/jsx-runtime";var Ka=ws("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 Ns({className:e,variant:t,...o}){return Ps("div",{className:a(Ka({variant:t}),e),...o})}import*as ei from"react";import*as Ye from"@radix-ui/react-progress";import{cva as ti}from"class-variance-authority";import{jsx as Ja}from"react/jsx-runtime";var Cs=ti("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"}}),Rs=ti("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"}}),oi=ei.forwardRef(({className:e,value:t,variant:o="progress",size:i="medium",disabled:r=!1,...n},m)=>Ja(Ye.Root,{ref:m,className:a("",Rs({size:i}),e),...n,children:Ja(Ye.Indicator,{className:a("",Cs({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));oi.displayName=Ye.Root.displayName;import si,{forwardRef as Ts}from"react";var Rt=1;var ai={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}},ii=[{variant:"primary",content:"Button Primary",url:""},{variant:"transparent",content:"Button Text",url:""}],ri={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 ks}from"@heroicons/react/24/outline";import*as ni from"@radix-ui/react-aspect-ratio";var Tt=ni.Root;import{cva as Ds}from"class-variance-authority";import*as q from"@radix-ui/react-dialog";import{X as Ss}from"lucide-react";import{Fragment as io,jsx as s,jsxs as N}from"react/jsx-runtime";var As=q.Portal,Ms=si.forwardRef(({className:e,...t},o)=>s(q.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})),Es=q.Root,Is=()=>N(q.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(Ss,{className:"h-4 w-4 mt-0.5"}),s("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),Ls=si.forwardRef(({className:e,children:t,...o},i)=>N(As,{children:[s(Ms,{className:"bg-black"}),N(q.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(Is,{})]})]})),Hs=Ds("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"}}),Ke=({title:e,className:t})=>s("h1",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-3xl md:text-4xl font-bold py-3 text-gray-900",t)}),Je=({tagName:e,className:t})=>s("div",{className:a("text-pink-500 font-bold text-sm tracking-wider ",t),children:e}),et=({description:e,className:t})=>s("div",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-lg text-gray-700 pb-2",t)}),be=({dataCtas:e,className:t})=>{let o=(r,n)=>{r.preventDefault(),r.stopPropagation(),n?.()},i=({cta:r,index:n})=>N(io,{children:[s(J,{onClick:m=>r?.onClickCTA?.()&&o(m,r?.onClickCTA?.()),variant:r?.variant,className:a("md:block hidden",r?.variant!=="primary"&&"text-pink-500 hidden "),children:r?.content},n),s(J,{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(J,{onClick:m=>{r?.url||(m.stopPropagation(),m.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))})},_s=({template:e,title:t,label:o,icon:i,idx:r})=>s(io,{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(ks,{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}})()}),tt=({dataFeatures:e})=>s("ul",{className:a("",Hs({template:e?.type})),children:e?.contents?.map((t,o)=>s(_s,{title:t?.title,template:e?.type,label:t?.label,icon:t?.icon,idx:o},o))}),Bs=({type:e=1,src:t,ratioImg:o,className:i,video:r,onClickFC:n=()=>{}})=>N(Tt,{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!==Rt&&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!==Rt&&r?.codeVideo&&N(Es,{children:[s(q.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(Ls,{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:""})})]})]}),xe=({type:e=1,url:t="",src:o,ratioImg:i,className:r,video:n,onClickFC:m=()=>{}})=>s("div",{children:e===Rt&&!n?.codeVideo?s(Tt,{className:a(""),ratio:i,children:s("img",{src:o,className:a("w-full h-full object-cover",r,o?"":"bg-gray-200"),alt:""})}):s(Bs,{type:e,url:t,src:o,ratioImg:i,video:n,onClickFC:m})}),Vs=({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(Je,{tagName:e?.tagName}),s(Ke,{title:e?.title}),s(et,{description:e?.description}),s(tt,{dataFeatures:o}),s("div",{className:"md:block hidden",children:s(be,{dataCtas:t})})]}),N("div",{className:"col-span-1",children:[s(xe,{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(be,{dataCtas:t})})]})]}),zs=({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(xe,{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(Je,{tagName:e?.tagName}),s(Ke,{title:e?.title}),s(et,{description:e?.description}),s(tt,{dataFeatures:o}),s("div",{className:"md:hidden mt-10",children:s(xe,{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(be,{dataCtas:t})})]})]}),Fs=({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(Je,{tagName:e?.tagName}),s(Ke,{title:e?.title}),s(et,{description:e?.description}),s(tt,{dataFeatures:o}),s("div",{className:"hidden md:block",children:s(be,{dataCtas:t})})]}),N("div",{className:"col-span-1",children:[s("div",{className:"hidden md:block",children:s(xe,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),s("div",{className:"md:hidden",children:s(xe,{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(be,{dataCtas:t})})]})]}),Os=({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(Je,{tagName:e?.tagName}),s(Ke,{title:e?.title}),s(et,{description:e?.description}),s(tt,{dataFeatures:o}),s("div",{className:"hidden md:block",children:s(be,{dataCtas:t})})]}),N("div",{className:"col-span-1",children:[s("div",{className:"hidden md:block",children:s(xe,{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(xe,{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(be,{dataCtas:t})})]})]}),Ws=({data:e,dataCtas:t,dataFeatures:o})=>N("div",{children:[s(Je,{tagName:e?.tagName,className:"max-w-4xl mx-auto text-center text-base leading-7 text-pink-500 font-bold"}),s(Ke,{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(et,{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(be,{dataCtas:t,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center "}),s(tt,{dataFeatures:o}),s(xe,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"rounded-lg"})]}),Gs=({template:e,data:t,dataCtas:o,dataFeatures:i})=>{switch(e){case 1:return s(Vs,{data:t,dataCtas:o,dataFeatures:i});case 2:return s(zs,{data:t,dataCtas:o,dataFeatures:i});case 3:return s(Fs,{data:t,dataCtas:o,dataFeatures:i});case 4:return s(Os,{data:t,dataCtas:o,dataFeatures:i});case 5:return s(Ws,{data:t,dataCtas:o,dataFeatures:i});default:return null}},$s=({template:e,data:t,dataCtas:o,dataFeatures:i})=>s(io,{children:Gs({template:e,data:t,dataCtas:o,dataFeatures:i})}),js=Ts(({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($s,{dataCtas:i||ii,template:e,data:o||ai,dataFeatures:r||ri})}),s("style",{children:`
|
|
216
|
+
`})]}),o&&N("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})]})},Fs=({children:e,className:t,open:o,onOpenChange:i})=>N("div",{className:a("lightbox-gallery ",t),children:N(Ms,{open:o,onOpenChange:i,children:Se.Children?.map(e,r=>{if(Se.isValidElement(r)){let n={},l=Object.keys(n).reduce((d,c)=>(n[c]!==void 0&&(d[c]=n[c]),d),{});return Se.cloneElement(r,l)}return null})})});import*as be from"react";import*as xe from"@radix-ui/react-radio-group";import{Circle as Os}from"lucide-react";import*as ot from"@radix-ui/react-checkbox";import{CheckIcon as Ws}from"@heroicons/react/16/solid";import{jsx as re,jsxs as ri}from"react/jsx-runtime";var ti=be.createContext({hideIndicator:!1});function Gs(){let e=be.useContext(ti);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var oi=be.forwardRef(({className:e,hideIndicator:t=!1,...o},i)=>re(ti.Provider,{value:{hideIndicator:t},children:re(xe.Root,{className:a("grid gap-2",t&&"hide-indicator",e),...o,ref:i})}));oi.displayName=xe.Root.displayName;var ai=be.forwardRef(({className:e,children:t,...o},i)=>{let r=Gs(),{hideIndicator:n}=r??{};return ri(xe.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:[re("div",{className:"flex-1 min-w-0",children:t}),!n&&re("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:re(xe.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:re(Os,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});ai.displayName=xe.Item.displayName;var ii=be.forwardRef(({className:e,children:t,...o},i)=>ri(ot.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:[re("div",{className:"flex-1 min-w-0",children:t}),re("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:re(ot.Indicator,{className:a("flex items-center justify-center text-current"),children:re(Ws,{className:"h-4 w-4"})})})]}));ii.displayName=ot.Root.displayName;import{cva as $s}from"class-variance-authority";import{jsx as Us}from"react/jsx-runtime";var ni=$s("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 js({className:e,variant:t,...o}){return Us("div",{className:a(ni({variant:t}),e),...o})}import*as li from"react";import*as at from"@radix-ui/react-progress";import{cva as mi}from"class-variance-authority";import{jsx as si}from"react/jsx-runtime";var qs=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"}}),Qs=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"}}),di=li.forwardRef(({className:e,value:t,variant:o="progress",size:i="medium",disabled:r=!1,...n},l)=>si(at.Root,{ref:l,className:a("",Qs({size:i}),e),...n,children:si(at.Indicator,{className:a("",qs({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));di.displayName=at.Root.displayName;import ui,{forwardRef as Xs}from"react";var Et=1;var ci={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}},pi=[{variant:"primary",content:"Button Primary",url:""},{variant:"transparent",content:"Button Text",url:""}],gi={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 Zs}from"@heroicons/react/24/outline";import*as fi from"@radix-ui/react-aspect-ratio";var Ht=fi.Root;import{cva as Ys}from"class-variance-authority";import*as X from"@radix-ui/react-dialog";import{X as Ks}from"lucide-react";import{Fragment as go,jsx as s,jsxs as P}from"react/jsx-runtime";var Js=X.Portal,el=ui.forwardRef(({className:e,...t},o)=>s(X.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})),tl=X.Root,ol=()=>P(X.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(Ks,{className:"h-4 w-4 mt-0.5"}),s("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]}),al=ui.forwardRef(({className:e,children:t,...o},i)=>P(Js,{children:[s(el,{className:"bg-black"}),P(X.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(ol,{})]})]})),il=Ys("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"}}),it=({title:e,className:t})=>s("h1",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-3xl md:text-4xl font-bold py-3 text-gray-900",t)}),rt=({tagName:e,className:t})=>s("div",{className:a("text-pink-500 font-bold text-sm tracking-wider ",t),children:e}),nt=({description:e,className:t})=>s("div",{dangerouslySetInnerHTML:{__html:e||""},className:a("text-lg text-gray-700 pb-2",t)}),ye=({dataCtas:e,className:t})=>{let o=(r,n)=>{r.preventDefault(),r.stopPropagation(),n?.()},i=({cta:r,index:n})=>P(go,{children:[s(j,{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(j,{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(j,{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))})},rl=({template:e,title:t,label:o,icon:i,idx:r})=>s(go,{children:(()=>{switch(e){case"col":return P("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(Zs,{className:"w-4 h-4 text-pink-500 "})}),s("div",{className:"ml-2",children:t})]});case"row":return P("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 P("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}})()}),st=({dataFeatures:e})=>s("ul",{className:a("",il({template:e?.type})),children:e?.contents?.map((t,o)=>s(rl,{title:t?.title,template:e?.type,label:t?.label,icon:t?.icon,idx:o},o))}),nl=({type:e=1,src:t,ratioImg:o,className:i,video:r,onClickFC:n=()=>{}})=>P(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!==Et&&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!==Et&&r?.codeVideo&&P(tl,{children:[s(X.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:P("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(al,{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:""})})]})]}),we=({type:e=1,url:t="",src:o,ratioImg:i,className:r,video:n,onClickFC:l=()=>{}})=>s("div",{children:e===Et&&!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(nl,{type:e,url:t,src:o,ratioImg:i,video:n,onClickFC:l})}),sl=({data:e,dataCtas:t,dataFeatures:o})=>P("div",{className:a("grid grid-cols-1 md:grid-cols-2 md:gap-16 gap-4 items-center"),children:[P("div",{className:"col-span-1",children:[s(rt,{tagName:e?.tagName}),s(it,{title:e?.title}),s(nt,{description:e?.description}),s(st,{dataFeatures:o}),s("div",{className:"md:block hidden",children:s(ye,{dataCtas:t})})]}),P("div",{className:"col-span-1",children:[s(we,{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(ye,{dataCtas:t})})]})]}),ll=({data:e,dataCtas:t,dataFeatures:o})=>P("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(we,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})})}),P("div",{className:"col-span-1",children:[s(rt,{tagName:e?.tagName}),s(it,{title:e?.title}),s(nt,{description:e?.description}),s(st,{dataFeatures:o}),s("div",{className:"md:hidden mt-10",children:s(we,{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(ye,{dataCtas:t})})]})]}),ml=({data:e,dataCtas:t,dataFeatures:o})=>P("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[P("div",{className:"col-span-1",children:[s(rt,{tagName:e?.tagName}),s(it,{title:e?.title}),s(nt,{description:e?.description}),s(st,{dataFeatures:o}),s("div",{className:"hidden md:block",children:s(ye,{dataCtas:t})})]}),P("div",{className:"col-span-1",children:[s("div",{className:"hidden md:block",children:s(we,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg})}),s("div",{className:"md:hidden",children:s(we,{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(ye,{dataCtas:t})})]})]}),dl=({data:e,dataCtas:t,dataFeatures:o})=>P("div",{className:a("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[P("div",{className:"col-span-1",children:[s(rt,{tagName:e?.tagName}),s(it,{title:e?.title}),s(nt,{description:e?.description}),s(st,{dataFeatures:o}),s("div",{className:"hidden md:block",children:s(ye,{dataCtas:t})})]}),P("div",{className:"col-span-1",children:[s("div",{className:"hidden md:block",children:s(we,{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(we,{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(ye,{dataCtas:t})})]})]}),cl=({data:e,dataCtas:t,dataFeatures:o})=>P("div",{children:[s(rt,{tagName:e?.tagName,className:"max-w-4xl mx-auto text-center text-base leading-7 text-pink-500 font-bold"}),s(it,{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(nt,{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(ye,{dataCtas:t,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center "}),s(st,{dataFeatures:o}),s(we,{type:e?.media?.type||1,url:e?.media?.url||"",src:e?.media?.src||"",ratioImg:e?.media?.ratioImg,className:"rounded-lg"})]}),pl=({template:e,data:t,dataCtas:o,dataFeatures:i})=>{switch(e){case 1:return s(sl,{data:t,dataCtas:o,dataFeatures:i});case 2:return s(ll,{data:t,dataCtas:o,dataFeatures:i});case 3:return s(ml,{data:t,dataCtas:o,dataFeatures:i});case 4:return s(dl,{data:t,dataCtas:o,dataFeatures:i});case 5:return s(cl,{data:t,dataCtas:o,dataFeatures:i});default:return null}},gl=({template:e,data:t,dataCtas:o,dataFeatures:i})=>s(go,{children:pl({template:e,data:t,dataCtas:o,dataFeatures:i})}),fl=Xs(({template:e=1,className:t,data:o,dataCtas:i,dataFeatures:r},n)=>P("div",{ref:n,className:a(" bg-section-hero overflow-hidden py-20",t),children:[s("div",{className:"wrapper relative",children:s(gl,{dataCtas:i||pi,template:e,data:o||ci,dataFeatures:r||gi})}),s("style",{children:`
|
|
217
217
|
.bg-section-hero {
|
|
218
218
|
background: var(
|
|
219
219
|
--gradient-pink-1,
|
|
@@ -239,7 +239,7 @@ import*as ze from"react";import*as W from"@radix-ui/react-accordion";import{Chev
|
|
|
239
239
|
#fff
|
|
240
240
|
);
|
|
241
241
|
}
|
|
242
|
-
`})]}));import*as li from"react";import*as ae from"@radix-ui/react-slider";import{jsx as kt,jsxs as Us}from"react/jsx-runtime";var mi=li.forwardRef(({className:e,...t},o)=>Us(ae.Root,{ref:o,className:a("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[kt(ae.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:kt(ae.Range,{className:"absolute h-full bg-pink-500"})}),kt(ae.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"}),kt(ae.Thumb,{className:"hover:cursor-grabbing block h-5 w-5 rounded-full border-2 border-pink-500 bg-white ring-offset-bg-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})]}));mi.displayName=ae.Root.displayName;import Ys from"color";import Ks from"tailwindcss/plugin.js";var L="250ms",ci={".transition-all":{"transition-property":"all","transition-timing-function":"ease","transition-duration":L},".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":L},".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":L},".transition-colors":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":L},".transition-opacity":{"transition-property":"opacity","transition-timing-function":"ease","transition-duration":L},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":L},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":L},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":L},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":L},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":L},".transition-shadow":{"transition-property":"box-shadow","transition-timing-function":"ease","transition-duration":L},".transition-transform":{"transition-property":"transform","transition-timing-function":"ease","transition-duration":L},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":L},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":L},".transition-transform-colors":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":L},".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":L}};var di={".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 pi={".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 gi={...di,...ci,...pi};import{flatten as qs}from"flat";function Qs(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 fi=e=>Qs(qs(e,{safe:!0,delimiter:"-"}));var Dt=16,Zs=[.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,18],Xs=[20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],ui=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/Dt}rem`:`${e/Dt}rem`}),Zs.forEach(i=>{let r=`${i}`;if(r.includes(".")){let[n,m]=r.split(".");r=`${n}_${m}`}o[r]=`${e*i/Dt}rem`}),Xs.forEach(i=>{let r=`${i}`;o[r]=`${e*i/Dt}rem`}),o};var hi={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var vi={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var bi={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var xi={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var yi={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var wi={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var Ni={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var Pi={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Ci={white:"#ffffff",black:"#000000",blue:hi,green:vi,pink:bi,purple:xi,red:yi,yellow:wi,gray:Pi,orange:Ni};var ro={...Ci};var Ri={"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 Ti={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 ki(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 Di(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 Js=e=>{let t={utilities:{},colors:{}},o=fi(ro),i=Ri,r=":root";return t.utilities[r]={},Object.entries(o).forEach(([n,m])=>{if(m)try{let[c,d,b]=Ys(m).rgb().array(),P=`--${e}-${n}`;t.utilities[r][P]=`${c} ${d} ${b}`,t.colors[n]=`rgb(var(${P}) / <alpha-value>)`}catch(c){console.log("error",c?.message)}}),Object.entries(i).forEach(([n,m])=>{if(!m)return;let c=`--${e}-${n}`;if(typeof m=="object")Object.entries(m).forEach(([d,b])=>{let P=`${c}-${d}`;t.utilities[r][P]=b});else if(n==="spacing-unit"){t.utilities[r][c]=m;let d=ui(Number(m));Object.entries(d).forEach(([b,P])=>{let A=`${c}-${b}`;t.utilities[r][A]=P})}else{let d=c.includes("opacity")&&typeof m=="number"?m.toString().replace(/^0\./,"."):m;t.utilities[r][c]=d}}),t},el=()=>{let e="mobase",t=Js(e);return Ks(({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({...gi})},{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:{...ro,...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:{...Di(e)},fontSize:{...ki(e)},...Ti}}})};import{Fragment as ol,jsx as v,jsxs as al}from"react/jsx-runtime";var tl=al(ol,{children:[v("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"}),v("meta",{name:"distribution",content:"Global"}),v("meta",{name:"author",content:"V\xED MoMo"}),v("meta",{property:"fb:app_id",content:"320653355376196"}),v("meta",{property:"fb:pages",content:"138010322921640"}),v("link",{rel:"shortcut icon",href:"/favicon.ico"}),v("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),v("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),v("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),v("meta",{name:"language",content:"vietnamese"}),v("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),v("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),v("meta",{name:"RATING",content:"GENERAL"}),v("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),v("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),v("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),v("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),v("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),v("link",{rel:"dns-prefetch",href:"//facebook.com"}),v("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),v("link",{rel:"dns-prefetch",href:"//www.google.com"}),v("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),v("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),v("link",{rel:"preconnect",href:"//connect.facebook.net"}),v("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),v("link",{rel:"preconnect",href:"//www.google-analytics.com"}),v("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),v("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),v("link",{rel:"preconnect",href:"//www.google.com"}),v("link",{rel:"preconnect",href:"//www.google.com.vn"}),v("link",{rel:"preconnect",href:"//www.googleadservices.com"}),v("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
|
|
242
|
+
`})]}));import*as hi from"react";import*as ne from"@radix-ui/react-slider";import{jsx as _t,jsxs as ul}from"react/jsx-runtime";var vi=hi.forwardRef(({className:e,...t},o)=>ul(ne.Root,{ref:o,className:a("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[_t(ne.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:_t(ne.Range,{className:"absolute h-full bg-pink-500"})}),_t(ne.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"}),_t(ne.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"})]}));vi.displayName=ne.Root.displayName;import yl from"color";import wl from"tailwindcss/plugin.js";var E="250ms",bi={".transition-all":{"transition-property":"all","transition-timing-function":"ease","transition-duration":E},".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":E},".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":E},".transition-colors":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":E},".transition-opacity":{"transition-property":"opacity","transition-timing-function":"ease","transition-duration":E},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":E},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":E},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":E},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":E},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":E},".transition-shadow":{"transition-property":"box-shadow","transition-timing-function":"ease","transition-duration":E},".transition-transform":{"transition-property":"transform","transition-timing-function":"ease","transition-duration":E},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":E},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":E},".transition-transform-colors":{" transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":E},".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":E}};var xi={".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 yi={".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 wi={...xi,...bi,...yi};import{flatten as hl}from"flat";function vl(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 Ni=e=>vl(hl(e,{safe:!0,delimiter:"-"}));var Bt=16,bl=[.5,1,1.5,2,2.5,3,3.5,4,5,6,7,8,9,10,11,12,14,16,18],xl=[20,24,28,32,36,40,44,48,52,56,60,64,72,80,96],Pi=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/Bt}rem`:`${e/Bt}rem`}),bl.forEach(i=>{let r=`${i}`;if(r.includes(".")){let[n,l]=r.split(".");r=`${n}_${l}`}o[r]=`${e*i/Bt}rem`}),xl.forEach(i=>{let r=`${i}`;o[r]=`${e*i/Bt}rem`}),o};var Ci={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var Ri={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var Ti={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var ki={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var Di={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Si={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var Ai={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var Mi={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Ii={white:"#ffffff",black:"#000000",blue:Ci,green:Ri,pink:Ti,purple:ki,red:Di,yellow:Si,gray:Mi,orange:Ai};var fo={...Ii};var Li={"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 Ei={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 Hi(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 _i(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 Nl=e=>{let t={utilities:{},colors:{}},o=Ni(fo),i=Li,r=":root";return t.utilities[r]={},Object.entries(o).forEach(([n,l])=>{if(l)try{let[d,c,h]=yl(l).rgb().array(),p=`--${e}-${n}`;t.utilities[r][p]=`${d} ${c} ${h}`,t.colors[n]=`rgb(var(${p}) / <alpha-value>)`}catch(d){console.log("error",d?.message)}}),Object.entries(i).forEach(([n,l])=>{if(!l)return;let d=`--${e}-${n}`;if(typeof l=="object")Object.entries(l).forEach(([c,h])=>{let p=`${d}-${c}`;t.utilities[r][p]=h});else if(n==="spacing-unit"){t.utilities[r][d]=l;let c=Pi(Number(l));Object.entries(c).forEach(([h,p])=>{let A=`${d}-${h}`;t.utilities[r][A]=p})}else{let c=d.includes("opacity")&&typeof l=="number"?l.toString().replace(/^0\./,"."):l;t.utilities[r][d]=c}}),t},Pl=()=>{let e="mobase",t=Nl(e);return wl(({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({...wi})},{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:{...fo,...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:{..._i(e)},fontSize:{...Hi(e)},...Ei}}})};import{Fragment as Rl,jsx as x,jsxs as Tl}from"react/jsx-runtime";var Cl=Tl(Rl,{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:`{
|
|
243
243
|
"@context": "https://schema.org/",
|
|
244
244
|
"@type": "WebSite",
|
|
245
245
|
"@id":"https://www.momo.vn/#website",
|
|
@@ -249,7 +249,7 @@ import*as ze from"react";import*as W from"@radix-ui/react-accordion";import{Chev
|
|
|
249
249
|
"@type": "SearchAction",
|
|
250
250
|
"target": "https://www.momo.vn/tim-kiem?q={search_term_string}",
|
|
251
251
|
"query-input": "required name=search_term_string"
|
|
252
|
-
}}`}}),
|
|
252
|
+
}}`}}),x("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
|
|
253
253
|
"@context": "https://schema.org",
|
|
254
254
|
"@type": "Organization",
|
|
255
255
|
"name": "Si\xEAu \u1EE9ng d\u1EE5ng MoMo",
|
|
@@ -284,5 +284,5 @@ import*as ze from"react";import*as W from"@radix-ui/react-accordion";import{Chev
|
|
|
284
284
|
"https://www.linkedin.com/company/momo-mservice/",
|
|
285
285
|
"https://github.com/momo-wallet"
|
|
286
286
|
]
|
|
287
|
-
}`}})]});export{
|
|
287
|
+
}`}})]});export{dt as Accordion,gt as AccordionContent,ct as AccordionItem,pt as AccordionTrigger,Nr as AlertDialog,Fo as AlertDialogAction,Oo as AlertDialogCancel,Ho as AlertDialogContent,zo as AlertDialogDescription,Bo as AlertDialogFooter,_o as AlertDialogHeader,jt as AlertDialogOverlay,Eo as AlertDialogPortal,Vo as AlertDialogTitle,Pr as AlertDialogTrigger,Ht as AspectRatio,js as Badge,ho as Breadcrumb,No as BreadcrumbEllipsis,bo as BreadcrumbItem,xo as BreadcrumbLink,vo as BreadcrumbList,yo as BreadcrumbPage,wo as BreadcrumbSeparator,j as Button,ht as Calendar,us as Callout,Ia as Card,_a as CardContent,Ha as CardDescription,Ba as CardFooter,La as CardHeader,Ea as CardTitle,ft as Checkbox,oi as ChoiceboxGroup,ai as ChoiceboxGroupItem,ii as ChoiceboxMultiItem,ds as Combobox,ms as ComboboxContent,ls as ComboboxTrigger,co as Command,ns as CommandDialog,Fa as CommandEmpty,Oa as CommandGroup,Va as CommandInput,Ga as CommandItem,za as CommandList,Wa as CommandSeparator,$a as CommandShortcut,hr as DatePicker,Qe as Dialog,bt as DialogBody,xr as DialogClose,Le as DialogContent,Lo as DialogDescription,Mo as DialogFooter,Ao as DialogHeader,Gt as DialogOverlay,So as DialogPortal,Xe as DialogQr,Io as DialogTitle,br as DialogTrigger,os as Footer,Da as HeaderNavigation,Ar as Heading,Ir as HeadingGroup,Mr as HeadingSub,Sr as HeadingTagline,fl as HeroSection,fe as IconButton,zs as LightBoxContent,Fs as LightboxGallery,Es as LightboxThumbnail,Rt as NavigationMenu,At as NavigationMenuContent,kt as NavigationMenuItem,Je as NavigationMenuLink,Tt as NavigationMenuList,St as NavigationMenuTrigger,jo as Pagination,$e as Popover,Ie as PopoverContent,je as PopoverTrigger,di as Progressbar,ba as RadioGroup,xa as RadioGroupItem,Ns as SearchBar,wn as Select,ca as SelectContent,Pn as SelectGroup,Cn as SelectItem,pa as SelectLabel,so as SelectScrollDownButton,no as SelectScrollUpButton,ga as SelectSeparator,da as SelectTrigger,Nn as SelectValue,Cl as SiteMeta,vi as Slider,hn as Stepper,va as Switch,_r as Tabs,Qo as TabsContent,Uo as TabsList,qo as TabsTrigger,Fr as TextArea,Ct as TextButton,pn as TextInput,ea as ToastAction,Yr as Toaster,on as Tooltip,aa as TooltipArrow,ia as TooltipContent,tn as TooltipProvider,an as TooltipTrigger,ni as badgeVariants,$ as buttonVariants,Pl as mobaseTW,Dt as navigationMenuTriggerStyle,oa as textButtonVariants,Yo as toast,Zt as useToast};
|
|
288
288
|
//# sourceMappingURL=index.js.map
|