@momo-webplatform/mobase 0.2.46 → 0.2.47
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 +33 -37
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +93 -23
- package/dist/esm/index.d.ts +93 -23
- package/dist/esm/index.js +33 -37
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import*as Pt from"react";import*as ie from"@radix-ui/react-accordion";import{ChevronDownIcon as $n}from"@heroicons/react/20/solid";import*as Gn from"react";import{twMerge as Wn}from"tailwind-merge";var Te={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 Pa={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 Nt=[{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"}],So=[{Name:"App Store",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",Link:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"},{Name:"Google Play",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",Link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}];var $={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Phone_Ext_3:"02855555555",Phone_Ext_3_Format:"028.5555.5555",Email:"hotro@momo.vn"}};function r(...e){return Wn(e)}import{jsx as mt,jsxs as jn}from"react/jsx-runtime";var Qe=Pt.forwardRef(({className:e,...t},o)=>mt(ie.Root,{ref:o,...t}));Qe.displayName="AccordionRoot";var Ue=Pt.forwardRef(({className:e,...t},o)=>mt(ie.Item,{ref:o,className:r("border-b border-gray-200",e),...t}));Ue.displayName="AccordionItem";var Xe=Pt.forwardRef(({className:e,children:t,...o},a)=>mt(ie.Header,{className:"flex",children:jn(ie.Trigger,{ref:a,className:r("flex flex-1 items-center text-left justify-between py-4 font-medium transition-all hover:underline hover:text-pink-600 [&[data-state=open]]:text-pink-600 [&[data-state=open]>svg]:rotate-180 text-gray-900",e),...o,children:[t,mt($n,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));Xe.displayName=ie.Trigger.displayName;var qe=Pt.forwardRef(({className:e,children:t,...o},a)=>mt(ie.Content,{ref:a,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ",...o,children:mt("div",{className:r("pb-4 pt-0 text-gray-900 ",e),children:t})}));qe.displayName=ie.Content.displayName;import*as Ra from"react";import{Slot as Xn}from"@radix-ui/react-slot";import{cva as qn}from"class-variance-authority";import{jsx as re,jsxs as Un}from"react/jsx-runtime";var Qn=({className:e})=>Un("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"})]}),Ca=Qn;import{Fragment as Kn,jsx as Do,jsxs as Zn}from"react/jsx-runtime";var be=qn("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"}}),ne=Ra.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isLoading:i=!1,isDisabled:n=!1,...s},l)=>{let d=a?Xn:"button",p=r(be({variant:t,size:o,className:e}),{"cursor-wait":i});return Do(Kn,{children:a?Do(d,{className:p,type:"button",disabled:n,ref:l,...s,children:s.children}):Zn(d,{className:p,type:"button",disabled:n,ref:l,...s,children:[i&&Do(Ca,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),s.children]})})});ne.displayName="Button";import*as Ct from"react";import*as I from"@radix-ui/react-dialog";import{XMarkIcon as Yn}from"@heroicons/react/16/solid";import{jsx as ke,jsxs as Mo}from"react/jsx-runtime";var Ze=I.Root,Io=I.Trigger,Ta=I.Portal,Jn=I.Close,Ao=Ct.forwardRef(({className:e,...t},o)=>ke(I.Overlay,{ref:o,className:r("fixed inset-0 z-50 bg-black/60 !duration-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Ao.displayName=I.Overlay.displayName;var He=Ct.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:a="md",position:i="center",height:n="auto",isFull:s=!1,children:l,...d},p)=>{let f={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"},u={sm:"w-80 sm:w-80",md:"w-[512px] sm:w-[512px]",lg:"w-[672px] sm:w-[672px]",xl:"w-[1024px] sm:-[1024px]"},b={auto:"h-auto sm:h-auto",small:"h-[480px] sm:h-[480px]",large:"h-[640px] sm:h-[640px]",full:"h-full"},L=[f.base,f[i],u[a],b[n],s&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return Mo(Ta,{children:[ke(Ao,{}),Mo(I.Content,{ref:p,className:r(...L),...d,children:[l,!o&&Mo(I.Close,{className:r("absolute md:top-4 top-2 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100 data-[state=open]:text-gray-700 text-gray-900 w-8 h-8 flex justify-center items-center rounded-full before:opacity-0 hover:before:opacity-100 before:transition-opacity before:z-[-1] before:content-[''] before:absolute before:inset-0 before:rounded-full before:select-none before:left-0 before:top-0 before:bg-gray-200 left-3 md:left-auto md:right-4",t&&"left-auto right-3 md:right-4"),title:"\u0110\xF3ng",children:[ke(Yn,{className:"h-5 w-5 text-gray-700"}),ke("span",{className:"sr-only",children:"Close"})]})]})]})});He.displayName=I.Content.displayName;var ka=({className:e,...t})=>ke("div",{className:r("dialog-header py-2 md:py-4 h-12 md:h-16 px-10 md:px-12 items-center justify-center flex border-b border-gray-200 w-full shrink-0",e),...t});ka.displayName="DialogHeader";var Ut=({className:e,isCondensed:t=!1,...o})=>ke("div",{className:r("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});Ut.displayName="DialogBody";var Sa=({className:e,isDivider:t=!0,...o})=>ke("div",{className:r("dialog-footer flex sm:flex-row justify-center [&>*]:basis-1/2 [&>*]:sm:basis-auto sm:justify-end space-x-2 px-6 pb-4 shrink-0",t&&"border-gray-200 border-t py-4",e),...o});Sa.displayName="DialogFooter";var Da=Ct.forwardRef(({className:e,...t},o)=>ke(I.Title,{ref:o,className:r("text-base font-semibold line-clamp-1 max-w-full",e),...t}));Da.displayName=I.Title.displayName;var Ma=Ct.forwardRef(({className:e,...t},o)=>ke(I.Description,{ref:o,className:r("text-sm text-gray-700",e),...t}));Ma.displayName=I.Description.displayName;import{QRCodeSVG as es}from"qrcode.react";import{Fragment as Lo,jsx as h,jsxs as j}from"react/jsx-runtime";var ts=({img:e="",children:t,isQrForAll:o})=>j(Lo,{children:[h("div",{className:"qrcode__scan__container",children:j("div",{className:"qrcode__scan",children:[h("div",{className:"qrcode__gradient",children:h("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),h("div",{className:"qrcode__border",children:h("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),h("div",{className:"qrcode__image p-4",children:e?h("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),h("div",{className:"mt-4 text-sm text-white",children:o?j(Lo,{children:[h("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),h("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"})]}):j(Lo,{children:[h("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:h("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",h("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),h("style",{children:`
|
|
1
|
+
import*as Pt from"react";import*as ie from"@radix-ui/react-accordion";import{ChevronDownIcon as jn}from"@heroicons/react/20/solid";import*as Gn from"react";import{twMerge as $n}from"tailwind-merge";var ke={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 Sa={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 Nt=[{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"}],Do=[{Name:"App Store",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",Link:"https://itunes.apple.com/vn/app/id918751511?utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"},{Name:"Google Play",Image:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",Link:"https://play.google.com/store/apps/details?id=com.mservice.momotransfer&utm_source=website-momo&utm_medium=download&utm_campaign=momo-1dong"}];var $={Business:{Phome:"1900636652",Phome_Format:"1900 636 652 (Ph\xED 1.000\u0111/ph\xFAt)",Email:"merchant.care@momo.vn"},Support:{Hotline:"1900545441",Hotline_Format:"1900 5454 41",Phone_Ext_1:"02873065555",Phone_Ext_1_Format:"028.7306.5555",Phone_Ext_2:"02899995555",Phone_Ext_2_Format:"028.9999.5555",Phone_Ext_3:"02855555555",Phone_Ext_3_Format:"028.5555.5555",Email:"hotro@momo.vn"}};function r(...e){return $n(e)}import{jsx as dt,jsxs as Un}from"react/jsx-runtime";var Xe=Pt.forwardRef(({className:e,...t},o)=>dt(ie.Root,{ref:o,...t}));Xe.displayName="AccordionRoot";var qe=Pt.forwardRef(({className:e,...t},o)=>dt(ie.Item,{ref:o,className:r("border-b border-gray-200",e),...t}));qe.displayName="AccordionItem";var Ze=Pt.forwardRef(({className:e,children:t,...o},a)=>dt(ie.Header,{className:"flex",children:Un(ie.Trigger,{ref:a,className:r("flex flex-1 items-center text-left justify-between py-4 font-medium transition-all hover:underline hover:text-pink-600 [&[data-state=open]]:text-pink-600 [&[data-state=open]>svg]:rotate-180 text-gray-900",e),...o,children:[t,dt(jn,{className:" h-5 w-5 shrink-0 transition-transform duration-200 ml-1"})]})}));Ze.displayName=ie.Trigger.displayName;var Ke=Pt.forwardRef(({className:e,children:t,...o},a)=>dt(ie.Content,{ref:a,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down text-left ",...o,children:dt("div",{className:r("pb-4 pt-0 text-gray-900 ",e),children:t})}));Ke.displayName=ie.Content.displayName;import*as Da from"react";import{Slot as qn}from"@radix-ui/react-slot";import{cva as Zn}from"class-variance-authority";import{jsx as re,jsxs as Xn}from"react/jsx-runtime";var Qn=({className:e})=>Xn("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:`${e}`,children:[re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"}),re("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"})]}),Xt=Qn;import{Fragment as Yn,jsx as Mo,jsxs as Kn}from"react/jsx-runtime";var xe=Zn("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"}}),ne=Da.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isLoading:i=!1,isDisabled:n=!1,...s},l)=>{let f=a?qn:"button",p=r(xe({variant:t,size:o,className:e}),{"cursor-wait":i});return Mo(Yn,{children:a?Mo(f,{className:p,type:"button",disabled:n,ref:l,...s,children:s.children}):Kn(f,{className:p,type:"button",disabled:n,ref:l,...s,children:[i&&Mo(Xt,{className:`${o==="default"||o==="sm"?"w-4 h-4":"w-5 h-5"} animate-spin-loading mr-2`}),s.children]})})});ne.displayName="Button";import*as Ct from"react";import*as A from"@radix-ui/react-dialog";import{XMarkIcon as Jn}from"@heroicons/react/16/solid";import{jsx as Se,jsxs as Io}from"react/jsx-runtime";var Ye=A.Root,Ao=A.Trigger,Ma=A.Portal,es=A.Close,Lo=Ct.forwardRef(({className:e,...t},o)=>Se(A.Overlay,{ref:o,className:r("fixed inset-0 z-50 bg-black/60 !duration-300 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Lo.displayName=A.Overlay.displayName;var _e=Ct.forwardRef(({className:e,positionRightCloseBtn:t,hideCloseBtn:o=!1,size:a="md",position:i="center",height:n="auto",isFull:s=!1,children:l,...f},p)=>{let c={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"},g={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"},S=[c.base,c[i],g[a],v[n],s&&"h-full max-h-screen max-w-full w-full rounded-none sm:rounded-xl sm:max-h-[calc(-64px_+_100vh)]",e];return Io(Ma,{children:[Se(Lo,{}),Io(A.Content,{ref:p,className:r(...S),...f,children:[l,!o&&Io(A.Close,{className:r("absolute md:top-4 top-2 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100 data-[state=open]:text-gray-700 text-gray-900 w-8 h-8 flex justify-center items-center rounded-full before:opacity-0 hover:before:opacity-100 before:transition-opacity before:z-[-1] before:content-[''] before:absolute before:inset-0 before:rounded-full before:select-none before:left-0 before:top-0 before:bg-gray-200 left-3 md:left-auto md:right-4",t&&"left-auto right-3 md:right-4"),title:"\u0110\xF3ng",children:[Se(Jn,{className:"h-5 w-5 text-gray-700"}),Se("span",{className:"sr-only",children:"Close"})]})]})]})});_e.displayName=A.Content.displayName;var Ia=({className:e,...t})=>Se("div",{className:r("dialog-header py-2 md:py-4 h-12 md:h-16 px-10 md:px-12 items-center justify-center flex border-b border-gray-200 w-full shrink-0",e),...t});Ia.displayName="DialogHeader";var qt=({className:e,isCondensed:t=!1,...o})=>Se("div",{className:r("dialog-body p-6 flex-1 overflow-y-auto",t&&"p-5",e),...o});qt.displayName="DialogBody";var Aa=({className:e,isDivider:t=!0,...o})=>Se("div",{className:r("dialog-footer flex sm:flex-row justify-center [&>*]:basis-1/2 [&>*]:sm:basis-auto sm:justify-end space-x-2 px-6 pb-4 shrink-0",t&&"border-gray-200 border-t py-4",e),...o});Aa.displayName="DialogFooter";var La=Ct.forwardRef(({className:e,...t},o)=>Se(A.Title,{ref:o,className:r("text-base font-semibold line-clamp-1 max-w-full",e),...t}));La.displayName=A.Title.displayName;var Ea=Ct.forwardRef(({className:e,...t},o)=>Se(A.Description,{ref:o,className:r("text-sm text-gray-700",e),...t}));Ea.displayName=A.Description.displayName;import{QRCodeSVG as ts}from"qrcode.react";import{Fragment as Eo,jsx as h,jsxs as j}from"react/jsx-runtime";var os=({img:e="",children:t,isQrForAll:o})=>j(Eo,{children:[h("div",{className:"qrcode__scan__container",children:j("div",{className:"qrcode__scan",children:[h("div",{className:"qrcode__gradient",children:h("img",{alt:"step 1",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/qrcode-gradient.png"})}),h("div",{className:"qrcode__border",children:h("img",{alt:"step 2",className:"img-fluid",src:"https://homepage.momocdn.net/jk/momo2020/img/qrcode/border-qrcode.svg"})}),h("div",{className:"qrcode__image p-4",children:e?h("img",{alt:"step 3",className:"img-fluid d-block mx-auto",src:e,loading:"lazy"}):t})]})}),h("div",{className:"mt-4 text-sm text-white",children:o?j(Eo,{children:[h("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-231211171009-638379114093056419.png",width:255,height:32,className:"mx-auto",alt:"QR all"}),h("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"})]}):j(Eo,{children:[h("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:h("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",h("br",{}),"\u1EE9ng d\u1EE5ng Camera h\u1ED7 tr\u1EE3 QR code \u0111\u1EC3 qu\xE9t m\xE3."]})}),h("style",{children:`
|
|
2
2
|
.qrcode__scan__container {
|
|
3
3
|
padding: 15px;
|
|
4
4
|
background-color: white;
|
|
@@ -67,7 +67,7 @@ import*as Pt from"react";import*as ie from"@radix-ui/react-accordion";import{Che
|
|
|
67
67
|
transform: translate3d(0, 30%, 0);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
`})]}),Ke=({className:e,children:t,title:o,shortTitle:a,qrImage:i,qrLink:n,logoQr:s,isQrForAll:l=!1,...d})=>h(Ze,{...d,children:h(He,{className:r("md:max-w-2xl lg:max-w-3xl h-auto md:max-h-screen max-h-screen overflow-hidden [&>button>svg]:text-white border-0",e),size:"xl",positionRightCloseBtn:!0,children:h(Ut,{className:"p-0",children:j("div",{className:"flex flex-row flex-wrap",children:[h("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||j("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[j("div",{className:"flex flex-nowrap items-center",children:[h("div",{className:"flex-none",children:h("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),j("div",{className:"flex-1 pl-4",children:[h("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),h("div",{className:"mt-1 text-gray-500 ",children:l?"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"})]})]}),j("div",{className:"flex flex-nowrap items-center",children:[h("div",{className:"flex-none",children:h("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),j("div",{className:"flex-1 pl-4",children:[h("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),h("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),j("div",{className:"flex flex-nowrap items-center",children:[h("div",{className:"flex-none",children:h("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),j("div",{className:"flex-1 pl-4",children:[h("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),j("div",{className:"mt-1 text-gray-500 ",children:["B\u1EA5m v\xE0o th\xF4ng b\xE1o hi\u1EC3n th\u1ECB \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng ho\u1EB7c"," ",a||"Truy c\u1EADp ngay"]})]})]})]})}),h("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:j("div",{className:"px-5 py-10 text-center",children:[o&&h("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),j("div",{className:"relative",children:[l&&h("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:h("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),h(ts,{img:i,isQrForAll:l,children:n&&h(es,{value:n,size:215,imageSettings:{src:`${s||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});import{useState as ls}from"react";import{useEffect as os,useLayoutEffect as as,useState as is}from"react";import rs from"ua-parser-js";var ns=()=>rs().device.type==="mobile",ss=typeof window<"u"?as:os,Ia=()=>{let[e,t]=is(!1);return ss(()=>{t(ns())},[]),e};import{Fragment as ms,jsx as Xt,jsxs as cs}from"react/jsx-runtime";var Rt=({action:e,newTab:t,offset:o,dialogQrProps:a,className:i,children:n,...s})=>{let[l,d]=ls(!1),p=Ia(),f=!!a?.qrLink,u=()=>{let z=f?a?.qrLink:e;return typeof z=="string"?z.trim():""},b=()=>{let z=u();!z&&typeof e!="function"||(typeof e=="function"?e():window.open(z,t?"_blank":"_self"))},L=(z,B=0)=>{let E=document.querySelector(z);if(!E)return;let ko=E.getBoundingClientRect().top+window.scrollY-B;window.scrollTo({top:ko,behavior:"smooth"})},_=()=>{typeof e=="string"&&e.startsWith("#")?L(e,o):b()},W=()=>cs(ms,{children:[Xt(ne,{...s,className:i,onClick:()=>d(!0),"data-name":"button-action-with-qr",children:n}),Xt(Ke,{...a,open:l,onOpenChange:()=>d(!1),qrLink:a?.qrLink||""})]});return f?p?a?.isQrForAll?W():Xt(ne,{...s,className:i,onClick:b,"data-name":"button-action-with-qr",children:n}):W():Xt(ne,{...s,onClick:_,className:r("cursor-pointer",i),"data-name":"button-action-without-qr",rel:"noreferrer",children:n})};import*as ct from"react";import{ChevronRightIcon as ds,DotsHorizontalIcon as ps}from"@radix-ui/react-icons";import{Slot as fs}from"@radix-ui/react-slot";import{jsx as Se,jsxs as gs}from"react/jsx-runtime";var Aa=ct.forwardRef(({className:e,...t},o)=>Se("nav",{ref:o,"aria-label":"breadcrumb",className:r("",e),...t}));Aa.displayName="Breadcrumb";var La=ct.forwardRef(({className:e,...t},o)=>Se("ol",{ref:o,className:r("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...t}));La.displayName="BreadcrumbList";var Ea=ct.forwardRef(({className:e,...t},o)=>Se("li",{ref:o,className:r("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));Ea.displayName="BreadcrumbItem";var Fa=ct.forwardRef(({asChild:e,className:t,...o},a)=>Se(e?fs:"a",{ref:a,className:r("transition-colors hover:text-foreground",t),...o}));Fa.displayName="BreadcrumbLink";var Ha=ct.forwardRef(({className:e,...t},o)=>Se("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:r("text-sm text-gray-500",e),...t}));Ha.displayName="BreadcrumbPage";var _a=({children:e,className:t,...o})=>Se("li",{role:"presentation","aria-hidden":"true",className:r("text-gray-900",t),...o,children:e??Se(ds,{className:"w-2 h-2"})});_a.displayName="BreadcrumbSeparator";var za=({className:e,...t})=>gs("span",{role:"presentation","aria-hidden":"true",className:r("flex h-5 w-5 items-center justify-center",e),...t,children:[Se(ps,{className:"w-4 h-4 text-gray-900"}),Se("span",{className:"sr-only",children:"More"})]});za.displayName="BreadcrumbElipssis";import*as Zt from"react";import{enUS as xs,vi as hs}from"date-fns/locale";import{DayPicker as ys}from"react-day-picker";import{ChevronLeft as ws,ChevronRight as Ns}from"lucide-react";import Ps from"lunisolar";import*as Ba from"react";import*as Tt from"@radix-ui/react-checkbox";import{CheckIcon as us}from"@heroicons/react/16/solid";import{cva as Va}from"class-variance-authority";import{jsx as Eo}from"react/jsx-runtime";var vs=Va("peer shrink-0 rounded border-2 disabled:bg-gray-300 border-gray-300 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:bg-gray-100 data-[state=checked]:border-none disabled:data-[state=checked]:bg-gray-400 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:bg-pink-500 data-[state=checked]:text-white",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),bs=Va("",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),qt=Ba.forwardRef(({className:e,size:t,...o},a)=>Eo(Tt.Root,{ref:a,className:r(vs({size:t}),e),...o,children:Eo(Tt.Indicator,{className:r("flex items-center justify-center text-current"),children:Eo(us,{className:r(bs({size:t}))})})}));qt.displayName=Tt.Root.displayName;import{Fragment as Ss,jsx as xe,jsxs as Fo}from"react/jsx-runtime";var Cs=({date:e,cusContent:t})=>{let o=null;return o=Ps(e).lunar,Fo(Ss,{children:[t?t(e):e.getDate(),o&&xe("span",{className:"text-[8px] absolute top-1 right-0.5 leading-none luna-date hidden group-[.show-luna]:block",children:o.day})]})},Rs={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 Ts({isShow:e,setIsShow:t,lang:o}){let a=Zt.useId();return xe("div",{className:"w-full p-3 pt-0",children:Fo("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[xe(qt,{checked:e,id:`check-show-luna-${a}`,onCheckedChange:i=>{typeof i=="boolean"&&t(i)}}),xe("label",{htmlFor:`check-show-luna-${a}`,className:"text-sm text-gray-900 peer-disabled:text-gray-400 leading-none peer-disabled:cursor-default cursor-pointer",children:o==="vi"?"Hi\u1EC7n ng\xE0y \xE2m l\u1ECBch":"Show lunar date"})]})})}var ks=e=>e.getDay()===0||e.getDay()===6;function Kt({className:e,classNames:t,showOutsideDays:o=!1,enableLunaDate:a=!1,lang:i="vi",cusContentDay:n,...s}){let[l,d]=Zt.useState(!0);return xe(ys,{locale:i==="vi"?hs:xs,showOutsideDays:o,className:r("border border-gray-200 rounded-b-md b bg-white shadow-md w-fit",e),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-y-0",month:"p-3 pt-0 w-full",caption:"flex justify-center p-3 bg-blue-50 relative items-center -mx-3 mb-3",caption_label:"text-sm font-medium text-gray-900",nav:"space-x-1 flex items-center",nav_button:r(be({variant:"transparent"}),"h-7 w-7 p-0 text-gray-900 hover:bg-transparent hover:opacity-70"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse",head_row:"flex space-x-0.5",head_cell:r("font-medium rounded-md w-11 text-xs text-gray-500 [&:nth-child(7)]:!text-red-600",i==="vi"?"[&:nth-child(6)]:!text-red-600":"[&:nth-child(1)]:!text-red-600"),row:"flex w-full mt-0.5 space-x-0.5",cell:"h-11 w-11 text-center text-sm p-0 relative border-none",day:r(be({variant:"transparent"}),"h-11 w-11 text-center text-sm p-0 aria-selected:opacity-100 aria-selected:[&:not(.day-range-middle)]:bg-pink-500 aria-selected:[&:not(.day-range-middle)]:text-white [&.day-range-end.day-range-start]:rounded-md focus-within:relative focus-within:z-20 font-semibold relative group",a&&l&&"show-luna"),day_range_end:"day-range-end [&.day-range-end]:rounded-l-none",day_range_start:"day-range-start [&.day-range-start]:rounded-r-none",day_today:"day-today [&:not([aria-selected])]:text-pink-500 [&:not([aria-selected])]:border-gray-200",day_outside:"day-outside opacity-50 aria-selected:bg-accent/50 aria-selected:opacity-30",day_disabled:"opacity-50",day_range_middle:r("text-gray-900 !bg-pink-50 !rounded-none group/mid [&:nth-child(7)]:!text-red-600 day-range-middle",i==="vi"?"[&:nth-child(6)]:!text-red-600":"[&:nth-child(1)]:!text-red-600"),day_hidden:"invisible",...t},modifiers:{weekend:ks},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>xe(ws,{className:"h-6 w-6"}),IconRight:()=>xe(Ns,{className:"h-6 w-6"}),DayContent:p=>xe(Cs,{date:p.date,cusContent:n}),Months:({children:p})=>Fo("div",{className:"w-full",children:[xe("div",{className:r("flex flex-col sm:flex-row months-wrapper"),children:p}),a&&xe(Ts,{isShow:l,setIsShow:d,lang:i})]})},formatters:i==="vi"?Rs:{},...s})}Kt.displayName="Calendar";import*as A from"react";import As from"embla-carousel-react";import{ChevronLeftIcon as Ls,ChevronRightIcon as Es}from"@heroicons/react/16/solid";import*as Oa from"react";import{Slot as Ds}from"@radix-ui/react-slot";import{cva as Ms}from"class-variance-authority";import{jsx as Is}from"react/jsx-runtime";var Ye=Ms("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=Oa.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},s)=>{let l=a?Ds:"button",d=r(Ye({variant:t,size:o,className:e}));return Is(l,{className:d,disabled:i,ref:s,...n,children:n.children})});fe.displayName="IconButton";import{jsx as De,jsxs as Wa}from"react/jsx-runtime";var Ga=A.createContext(null);function Yt(){let e=A.useContext(Ga);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}var Jt=A.forwardRef(({orientation:e="horizontal",opts:t,setApi:o,plugins:a,className:i,children:n,...s},l)=>{let[d,p]=As({...t,axis:e==="horizontal"?"x":"y"},a),[f,u]=A.useState(!1),[b,L]=A.useState(!1),_=A.useCallback(B=>{B&&(u(B.canScrollPrev()),L(B.canScrollNext()))},[]),W=A.useCallback(()=>{p?.scrollPrev()},[p]),S=A.useCallback(()=>{p?.scrollNext()},[p]),z=A.useCallback(B=>{B.key==="ArrowLeft"?(B.preventDefault(),W()):B.key==="ArrowRight"&&(B.preventDefault(),S())},[W,S]);return A.useEffect(()=>{!p||!o||o(p)},[p,o]),A.useEffect(()=>{if(p)return _(p),p.on("reInit",_),p.on("select",_),()=>{p?.off("select",_)}},[p,_]),De(Ga.Provider,{value:{carouselRef:d,api:p,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:W,scrollNext:S,canScrollPrev:f,canScrollNext:b},children:De("div",{ref:l,onKeyDownCapture:z,className:r("relative",i),role:"region","aria-roledescription":"carousel",...s,children:n})})});Jt.displayName="Carousel";var eo=A.forwardRef(({className:e,...t},o)=>{let{carouselRef:a,orientation:i}=Yt();return De("div",{ref:a,className:"overflow-hidden",children:De("div",{ref:o,className:r("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});eo.displayName="CarouselContent";var to=A.forwardRef(({className:e,...t},o)=>{let{orientation:a}=Yt();return De("div",{ref:o,role:"group","aria-roledescription":"slide",className:r("min-w-0 shrink-0 grow-0 basis-full",a==="horizontal"?"pl-4":"pt-4",e),...t})});to.displayName="CarouselItem";var oo=A.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollPrev:s,canScrollPrev:l}=Yt();return Wa(fe,{ref:i,variant:t,size:o,className:r("absolute h-8 w-8 rounded-full",n==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!l,onClick:s,...a,children:[De(Ls,{className:"h-6 w-6"}),De("span",{className:"sr-only",children:"Previous slide"})]})});oo.displayName="CarouselPrevious";var ao=A.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollNext:s,canScrollNext:l}=Yt();return Wa(fe,{ref:i,variant:t,size:o,className:r("absolute h-8 w-8 rounded-full",n==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!l,onClick:s,...a,children:[De(Es,{className:"h-6 w-6"}),De("span",{className:"sr-only",children:"Next slide"})]})});ao.displayName="CarouselNext";import*as ja from"react";import*as Me from"@radix-ui/react-popover";import{jsx as $a}from"react/jsx-runtime";var kt=Me.Root,St=Me.Trigger,dt=ja.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},i)=>$a(Me.Portal,{children:$a(Me.Content,{ref:i,align:t,sideOffset:o,className:r("z-50 w-72 rounded-md border border-gray-200 bg-white p-4 sm:p-5 text-gray-900 shadow-small outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));dt.displayName=Me.Content.displayName;import{format as io}from"date-fns";import{Calendar as Fs}from"lucide-react";import{QuestionMarkCircleIcon as Hs,XCircleIcon as _s}from"@heroicons/react/16/solid";import{Fragment as Qa,jsx as he,jsxs as Dt}from"react/jsx-runtime";var zs=({label:e,placeholder:t="Select a value",size:o=1,message:a,isError:i,disabled:n,dateFormat:s="dd/MM/yyyy",buttonProps:l,popoverProps:d,calendarProps:p})=>{let f=p?.selected||null;return Dt("div",{children:[Dt(kt,{...d,children:[he(St,{asChild:!0,children:Dt(ne,{variant:"secondary",className:r("w-full justify-between text-left text-sm font-normal h-11 text-gray-900 overflow-visible hover:ring-1 focus:ring-1 hover:ring-gray-400 focus:ring-gray-400 [&[data-state=open]]:border-pink-500 [&[data-state=open]]:ring-pink-500 [&[data-state=open]]:ring-1 relative disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none disabled:text-gray-500",o===2&&"h-12 text-base",(!f||!(f instanceof Date)&&typeof f=="object"&&(!("from"in f)||!f.from))&&"text-gray-500",i&&"border-red-500 ring-red-500 ring-1"),disabled:n,...l,children:[he("span",{className:"line-clamp-1 flex-1",children:f instanceof Date?io(f,s):f&&typeof f=="object"&&"from"in f&&"to"in f?he(Qa,{children:f.from?f.to?Dt(Qa,{children:[io(f.from,s)," -"," ",io(f.to,s)]}):io(f.from,s):t}):t}),e&&he("span",{className:r("absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",o===2&&" -top-2.5 text-sm",i&&"text-red-500"),children:e}),he(Fs,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),he(dt,{className:"w-auto !p-0 border-none",children:he(Kt,{...p})})]}),a&&Dt("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[i?he(_s,{width:16,height:16,className:"text-red-500"}):he(Hs,{width:16,height:16,className:"text-gray-500"}),he("span",{className:r(i?"text-red-500":"text-gray-500",o===2?"text-sm":"text-xs"),children:a})]})]})};import*as Je from"react";import*as C from"@radix-ui/react-alert-dialog";import{jsx as Ie,jsxs as Os}from"react/jsx-runtime";var Bs=C.Root,Vs=C.Trigger,Ua=C.Portal,Ho=Je.forwardRef(({className:e,...t},o)=>Ie(C.Overlay,{className:r("fixed inset-0 z-50 bg-black/70 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));Ho.displayName=C.Overlay.displayName;var Xa=Je.forwardRef(({className:e,...t},o)=>Os(Ua,{children:[Ie(Ho,{}),Ie(C.Content,{ref:o,className:r("fixed left-[50%] w-[90vw] bg-white text-gray-700 border border-gray-300 top-[50%] z-50 grid w- max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-xl",e),...t})]}));Xa.displayName=C.Content.displayName;var qa=({className:e,...t})=>Ie("div",{className:r("flex flex-col space-y-2 text-left",e),...t});qa.displayName="AlertDialogHeader";var Za=({className:e,...t})=>Ie("div",{className:r("flex flex-row justify-end space-x-4",e),...t});Za.displayName="AlertDialogFooter";var Ka=Je.forwardRef(({className:e,...t},o)=>Ie(C.Title,{ref:o,className:r("text-lg text-gray-900 font-semibold",e),...t}));Ka.displayName=C.Title.displayName;var Ya=Je.forwardRef(({className:e,...t},o)=>Ie(C.Description,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Ya.displayName=C.Description.displayName;var Ja=Je.forwardRef(({className:e,...t},o)=>Ie(C.Action,{ref:o,className:r(be({variant:"primary"}),"",e),...t}));Ja.displayName=C.Action.displayName;var ei=Je.forwardRef(({className:e,...t},o)=>Ie(C.Cancel,{ref:o,className:r(be({variant:"secondary"}),e),...t}));ei.displayName=C.Cancel.displayName;import{createContext as Gs,useContext as ti}from"react";import{jsx as Mt}from"react/jsx-runtime";var _o=Gs({align:"center"}),zo=({color:e="pink",size:t="small",isTruncated:o=!1,className:a,children:i})=>{let n={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},s={small:"text-sm",large:"text-lg"};return Mt("div",{className:r("mb-1 font-semibold",n[e],s[t],o&&"truncate",a),children:i})},Bo=({tagHeading:e="h2",size:t="small",color:o="pink",isTruncated:a=!1,className:i,children:n})=>{let s=e,l={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},d={small:"lg:text-3xl text-2xl",large:"lg:text-4xl md:text-3xl text-2xl"},{align:p}=ti(_o);return Mt(s,{className:r("font-bold max-w-4xl",p==="center"?"mx-auto":p==="right"?"ml-auto":"",l[o],d[t],a&&"truncate","text-balance md:text-wrap",i),children:n})},Vo=({color:e="regular",size:t="small",marginTop:o="spacingX",isTruncated:a=!1,className:i,children:n})=>{let s={regular:"text-gray-500",white:"text-white/80"},l={small:"md:text-base text-sm",large:"md:text-lg text-base"},d={none:"",spacingX:"mt-2",spacingM:"mt-3",spacingL:"mt-4",spacingXl:"mt-5",spacing2Xl:"mt-6"},{align:p}=ti(_o);return Mt("div",{className:r(p==="center"?"mx-auto max-w-2xl":p==="right"?"max-w-4xl ml-auto":"max-w-4xl",s[e],l[t],d[o],a&&"truncate",i),children:n})},Oo=({className:e,align:t="center",children:o})=>Mt("div",{className:r("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:Mt(_o.Provider,{value:{align:t},children:o})});import{ChevronLeft as Ws,ChevronRight as $s}from"lucide-react";import{Fragment as js,jsx as se,jsxs as oi}from"react/jsx-runtime";function ai({current:e,total:t,onChange:o}){let a=i=>se("li",{children:se("button",{className:r(Ye({variant:e===i?"outline":"secondary",size:"sm"})),onClick:()=>o(i),children:i})},i);return se("nav",{role:"navigation","aria-label":"pagination",className:r("mx-auto flex w-full justify-center"),children:oi("ul",{className:r("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&se("li",{children:se("button",{className:r(Ye({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:se(Ws,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((i,n)=>a(n+1)):oi(js,{children:[a(1),e===1&&[a(2),a(3)],e>3&&se("li",{children:se("button",{className:r(Ye({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e-3),children:"..."})}),e>2&&e!==1&&e!==t&&a(e-1),e>1&&e<t&&a(e),e<t-1&&e!==1&&a(e+1),e===t&&[a(t-2),a(t-1)],e<t-2&&e!==t&&se("button",{className:r(Ye({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),a(t)]}),t>1&&se("li",{children:se("button",{className:r(Ye({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:se($s,{className:"h-4 w-4"})})})]})})}import*as ro from"react";import*as ge from"@radix-ui/react-tabs";import{jsx as Go}from"react/jsx-runtime";var It=ge.Root,pt=ro.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...a},i)=>Go(ge.List,{ref:i,className:r("inline-flex w-full flex-row items-center bg-muted text-muted-foreground space-x-5 overflow-x-auto [&::-webkit-scrollbar]:hidden",`text-${t}`,o&&"border-b border-gray-200",e),...a}));pt.displayName=ge.List.displayName;var ft=ro.forwardRef(({className:e,...t},o)=>Go(ge.Trigger,{ref:o,className:r("inline-flex items-center justify-center whitespace-nowrap py-3 font-semibold ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border-b-2 border-transparent data-[state=active]:text-pink-500 data-[state=active]:border-pink-500 text-gray-900 hover:text-pink-500",e),...t}));ft.displayName=ge.Trigger.displayName;var gt=ro.forwardRef(({className:e,...t},o)=>Go(ge.Content,{ref:o,className:r("mt-3 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 text-gray-900",e),...t}));gt.displayName=ge.Content.displayName;import{forwardRef as Qs}from"react";import{QuestionMarkCircleIcon as Us}from"@heroicons/react/24/outline";import{XCircleIcon as Xs}from"@heroicons/react/24/solid";import{jsx as ut,jsxs as ii}from"react/jsx-runtime";var qs=Qs(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,size:s,rows:l=3,...d},p)=>ii("div",{className:r("relative",i,t&&"mobase-text-area-error"),children:[a&&ut("span",{className:r("mobase-text-area-label absolute bg-white -top-2.5 px-1.5 left-2 text-sm text-gray-500",s===2&&" -top-2.5 text-sm"),children:a}),ut("textarea",{disabled:e,ref:p,className:r("mobase-text-area-box bg-white w-full text-sm transition-all rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 outline-none block",s===2&&"text-base",n),rows:l,...d}),o&&ii("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?ut(Xs,{width:16,height:16,className:"text-red-500"}):ut(Us,{width:16,height:16,className:"text-gray-500"}),ut("span",{className:r("text-gray-500 ",s===2?"text-sm":"text-xs"),children:o})]}),ut("style",{children:`
|
|
70
|
+
`})]}),Je=({className:e,children:t,title:o,shortTitle:a,qrImage:i,qrLink:n,logoQr:s,isQrForAll:l=!1,...f})=>h(Ye,{...f,children:h(_e,{className:r("md:max-w-2xl lg:max-w-3xl h-auto md:max-h-screen max-h-screen overflow-hidden [&>button>svg]:text-white border-0",e),size:"xl",positionRightCloseBtn:!0,children:h(qt,{className:"p-0",children:j("div",{className:"flex flex-row flex-wrap",children:[h("div",{className:"w-full flex-none md:w-5/12 hidden sm:block",children:t||j("div",{className:"px-5 text-sm py-8 grid grid-cols-1 gap-y-6",children:[j("div",{className:"flex flex-nowrap items-center",children:[h("div",{className:"flex-none",children:h("img",{className:"w-20",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091602-637359309621891617.png",alt:"Step 1"})}),j("div",{className:"flex-1 pl-4",children:[h("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 1 :"}),h("div",{className:"mt-1 text-gray-500 ",children:l?"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"})]})]}),j("div",{className:"flex flex-nowrap items-center",children:[h("div",{className:"flex-none",children:h("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917091443-637359308837905996.png",alt:"Step 2"})}),j("div",{className:"flex-1 pl-4",children:[h("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 2 :"}),h("div",{className:"mt-1 text-gray-500 ",children:"Qu\xE9t m\xE3 QR Code theo h\xECnh b\xEAn ph\u1EA3i"})]})]}),j("div",{className:"flex flex-nowrap items-center",children:[h("div",{className:"flex-none",children:h("img",{className:"w-20 ",loading:"lazy",src:"https://homepage.momocdn.net/images/s/momo-upload-api-200917090146-637359301062519803.png",alt:"Step 3"})}),j("div",{className:"flex-1 pl-4",children:[h("div",{className:"step font-semibold text-gray-800 ",children:"B\u01B0\u1EDBc 3 :"}),j("div",{className:"mt-1 text-gray-500 ",children:["B\u1EA5m v\xE0o th\xF4ng b\xE1o hi\u1EC3n th\u1ECB \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng ho\u1EB7c"," ",a||"Truy c\u1EADp ngay"]})]})]})]})}),h("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:j("div",{className:"px-5 py-10 text-center",children:[o&&h("h4",{className:"mb-5 text-base font-semibold text-white",children:o}),j("div",{className:"relative",children:[l&&h("div",{className:"absolute -top-2 left-1/2 z-[5] -translate-x-1/2",children:h("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-231211170324.svg",alt:"Title QR all"})}),h(os,{img:i,isQrForAll:l,children:n&&h(ts,{value:n,size:215,imageSettings:{src:`${s||"https://homepage.momocdn.net/pwa/images/logoMomox50.png"}`,height:50,width:50,excavate:!0},level:"H"})})]})]})})]})})})});import{useState as ms}from"react";import{useEffect as as,useLayoutEffect as is,useState as rs}from"react";import ns from"ua-parser-js";var ss=()=>ns().device.type==="mobile",ls=typeof window<"u"?is:as,Fa=()=>{let[e,t]=rs(!1);return ls(()=>{t(ss())},[]),e};import{Fragment as cs,jsx as Zt,jsxs as ds}from"react/jsx-runtime";var Rt=({action:e,newTab:t,offset:o,dialogQrProps:a,className:i,children:n,...s})=>{let[l,f]=ms(!1),p=Fa(),c=!!a?.qrLink,g=()=>{let B=c?a?.qrLink:e;return typeof B=="string"?B.trim():""},v=()=>{let B=g();!B&&typeof e!="function"||(typeof e=="function"?e():window.open(B,t?"_blank":"_self"))},S=(B,V=0)=>{let F=document.querySelector(B);if(!F)return;let So=F.getBoundingClientRect().top+window.scrollY-V;window.scrollTo({top:So,behavior:"smooth"})},E=()=>{typeof e=="string"&&e.startsWith("#")?S(e,o):v()},G=()=>ds(cs,{children:[Zt(ne,{...s,className:i,onClick:()=>f(!0),"data-name":"button-action-with-qr",children:n}),Zt(Je,{...a,open:l,onOpenChange:()=>f(!1),qrLink:a?.qrLink||""})]});return c?p?a?.isQrForAll?G():Zt(ne,{...s,className:i,onClick:v,"data-name":"button-action-with-qr",children:n}):G():Zt(ne,{...s,onClick:E,className:r("cursor-pointer",i),"data-name":"button-action-without-qr",rel:"noreferrer",children:n})};import*as pt from"react";import{ChevronRightIcon as ps,DotsHorizontalIcon as fs}from"@radix-ui/react-icons";import{Slot as gs}from"@radix-ui/react-slot";import{jsx as De,jsxs as us}from"react/jsx-runtime";var Ha=pt.forwardRef(({className:e,...t},o)=>De("nav",{ref:o,"aria-label":"breadcrumb",className:r("",e),...t}));Ha.displayName="Breadcrumb";var _a=pt.forwardRef(({className:e,...t},o)=>De("ol",{ref:o,className:r("flex items-center gap-2 break-words text-sm overflow-x-auto snap-mandatory snap-x [&::-webkit-scrollbar]:hidden",e),...t}));_a.displayName="BreadcrumbList";var za=pt.forwardRef(({className:e,...t},o)=>De("li",{ref:o,className:r("shrink-0 text-gray-900 hover:text-pink-500",e),...t}));za.displayName="BreadcrumbItem";var Ba=pt.forwardRef(({asChild:e,className:t,...o},a)=>De(e?gs:"a",{ref:a,className:r("transition-colors hover:text-foreground",t),...o}));Ba.displayName="BreadcrumbLink";var Va=pt.forwardRef(({className:e,...t},o)=>De("span",{ref:o,role:"link","aria-disabled":"true","aria-current":"page",className:r("text-sm text-gray-500",e),...t}));Va.displayName="BreadcrumbPage";var Oa=({children:e,className:t,...o})=>De("li",{role:"presentation","aria-hidden":"true",className:r("text-gray-900",t),...o,children:e??De(ps,{className:"w-2 h-2"})});Oa.displayName="BreadcrumbSeparator";var Wa=({className:e,...t})=>us("span",{role:"presentation","aria-hidden":"true",className:r("flex h-5 w-5 items-center justify-center",e),...t,children:[De(fs,{className:"w-4 h-4 text-gray-900"}),De("span",{className:"sr-only",children:"More"})]});Wa.displayName="BreadcrumbElipssis";import*as Yt from"react";import{enUS as hs,vi as ys}from"date-fns/locale";import{DayPicker as ws}from"react-day-picker";import{ChevronLeft as Ns,ChevronRight as Ps}from"lucide-react";import Cs from"lunisolar";import*as Ga from"react";import*as Tt from"@radix-ui/react-checkbox";import{CheckIcon as vs}from"@heroicons/react/16/solid";import{cva as $a}from"class-variance-authority";import{jsx as Fo}from"react/jsx-runtime";var bs=$a("peer shrink-0 rounded border-2 disabled:bg-gray-300 border-gray-300 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default disabled:bg-gray-100 data-[state=checked]:border-none disabled:data-[state=checked]:bg-gray-400 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:bg-pink-500 data-[state=checked]:text-white",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),xs=$a("",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),Kt=Ga.forwardRef(({className:e,size:t,...o},a)=>Fo(Tt.Root,{ref:a,className:r(bs({size:t}),e),...o,children:Fo(Tt.Indicator,{className:r("flex items-center justify-center text-current"),children:Fo(vs,{className:r(xs({size:t}))})})}));Kt.displayName=Tt.Root.displayName;import{Fragment as Ds,jsx as he,jsxs as Ho}from"react/jsx-runtime";var Rs=({date:e,cusContent:t})=>{let o=null;return o=Cs(e).lunar,Ho(Ds,{children:[t?t(e):e.getDate(),o&&he("span",{className:"text-[8px] absolute top-1 right-0.5 leading-none luna-date hidden group-[.show-luna]:block",children:o.day})]})},Ts={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 ks({isShow:e,setIsShow:t,lang:o}){let a=Yt.useId();return he("div",{className:"w-full p-3 pt-0",children:Ho("div",{className:"flex items-center space-x-2 border-t border-gray-100 pt-3 cursor-pointer",children:[he(Kt,{checked:e,id:`check-show-luna-${a}`,onCheckedChange:i=>{typeof i=="boolean"&&t(i)}}),he("label",{htmlFor:`check-show-luna-${a}`,className:"text-sm text-gray-900 peer-disabled:text-gray-400 leading-none peer-disabled:cursor-default cursor-pointer",children:o==="vi"?"Hi\u1EC7n ng\xE0y \xE2m l\u1ECBch":"Show lunar date"})]})})}var Ss=e=>e.getDay()===0||e.getDay()===6;function Jt({className:e,classNames:t,showOutsideDays:o=!1,enableLunaDate:a=!1,lang:i="vi",cusContentDay:n,...s}){let[l,f]=Yt.useState(!0);return he(ws,{locale:i==="vi"?ys:hs,showOutsideDays:o,className:r("border border-gray-200 rounded-b-md b bg-white shadow-md w-fit",e),classNames:{months:"flex flex-col sm:flex-row space-y-4 sm:space-y-0",month:"p-3 pt-0 w-full",caption:"flex justify-center p-3 bg-blue-50 relative items-center -mx-3 mb-3",caption_label:"text-sm font-medium text-gray-900",nav:"space-x-1 flex items-center",nav_button:r(xe({variant:"transparent"}),"h-7 w-7 p-0 text-gray-900 hover:bg-transparent hover:opacity-70"),nav_button_previous:"absolute left-1",nav_button_next:"absolute right-1",table:"w-full border-collapse",head_row:"flex space-x-0.5",head_cell:r("font-medium rounded-md w-11 text-xs text-gray-500 [&:nth-child(7)]:!text-red-600",i==="vi"?"[&:nth-child(6)]:!text-red-600":"[&:nth-child(1)]:!text-red-600"),row:"flex w-full mt-0.5 space-x-0.5",cell:"h-11 w-11 text-center text-sm p-0 relative border-none",day:r(xe({variant:"transparent"}),"h-11 w-11 text-center text-sm p-0 aria-selected:opacity-100 aria-selected:[&:not(.day-range-middle)]:bg-pink-500 aria-selected:[&:not(.day-range-middle)]:text-white [&.day-range-end.day-range-start]:rounded-md focus-within:relative focus-within:z-20 font-semibold relative group",a&&l&&"show-luna"),day_range_end:"day-range-end [&.day-range-end]:rounded-l-none",day_range_start:"day-range-start [&.day-range-start]:rounded-r-none",day_today:"day-today [&:not([aria-selected])]:text-pink-500 [&:not([aria-selected])]:border-gray-200",day_outside:"day-outside opacity-50 aria-selected:bg-accent/50 aria-selected:opacity-30",day_disabled:"opacity-50",day_range_middle:r("text-gray-900 !bg-pink-50 !rounded-none group/mid [&:nth-child(7)]:!text-red-600 day-range-middle",i==="vi"?"[&:nth-child(6)]:!text-red-600":"[&:nth-child(1)]:!text-red-600"),day_hidden:"invisible",...t},modifiers:{weekend:Ss},modifiersClassNames:{weekend:"text-red-600"},components:{IconLeft:()=>he(Ns,{className:"h-6 w-6"}),IconRight:()=>he(Ps,{className:"h-6 w-6"}),DayContent:p=>he(Rs,{date:p.date,cusContent:n}),Months:({children:p})=>Ho("div",{className:"w-full",children:[he("div",{className:r("flex flex-col sm:flex-row months-wrapper"),children:p}),a&&he(ks,{isShow:l,setIsShow:f,lang:i})]})},formatters:i==="vi"?Ts:{},...s})}Jt.displayName="Calendar";import*as L from"react";import Ls from"embla-carousel-react";import{ChevronLeftIcon as Es,ChevronRightIcon as Fs}from"@heroicons/react/16/solid";import*as ja from"react";import{Slot as Ms}from"@radix-ui/react-slot";import{cva as Is}from"class-variance-authority";import{jsx as As}from"react/jsx-runtime";var et=Is("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"}}),ge=ja.forwardRef(({className:e,variant:t="primary",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},s)=>{let l=a?Ms:"button",f=r(et({variant:t,size:o,className:e}));return As(l,{className:f,disabled:i,ref:s,...n,children:n.children})});ge.displayName="IconButton";import{jsx as Me,jsxs as Qa}from"react/jsx-runtime";var Ua=L.createContext(null);function eo(){let e=L.useContext(Ua);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}var to=L.forwardRef(({orientation:e="horizontal",opts:t,setApi:o,plugins:a,className:i,children:n,...s},l)=>{let[f,p]=Ls({...t,axis:e==="horizontal"?"x":"y"},a),[c,g]=L.useState(!1),[v,S]=L.useState(!1),E=L.useCallback(V=>{V&&(g(V.canScrollPrev()),S(V.canScrollNext()))},[]),G=L.useCallback(()=>{p?.scrollPrev()},[p]),D=L.useCallback(()=>{p?.scrollNext()},[p]),B=L.useCallback(V=>{V.key==="ArrowLeft"?(V.preventDefault(),G()):V.key==="ArrowRight"&&(V.preventDefault(),D())},[G,D]);return L.useEffect(()=>{!p||!o||o(p)},[p,o]),L.useEffect(()=>{if(p)return E(p),p.on("reInit",E),p.on("select",E),()=>{p?.off("select",E)}},[p,E]),Me(Ua.Provider,{value:{carouselRef:f,api:p,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:G,scrollNext:D,canScrollPrev:c,canScrollNext:v},children:Me("div",{ref:l,onKeyDownCapture:B,className:r("relative",i),role:"region","aria-roledescription":"carousel",...s,children:n})})});to.displayName="Carousel";var oo=L.forwardRef(({className:e,...t},o)=>{let{carouselRef:a,orientation:i}=eo();return Me("div",{ref:a,className:"overflow-hidden",children:Me("div",{ref:o,className:r("flex",i==="horizontal"?"-ml-4":"-mt-4 flex-col",e),...t})})});oo.displayName="CarouselContent";var ao=L.forwardRef(({className:e,...t},o)=>{let{orientation:a}=eo();return Me("div",{ref:o,role:"group","aria-roledescription":"slide",className:r("min-w-0 shrink-0 grow-0 basis-full",a==="horizontal"?"pl-4":"pt-4",e),...t})});ao.displayName="CarouselItem";var io=L.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollPrev:s,canScrollPrev:l}=eo();return Qa(ge,{ref:i,variant:t,size:o,className:r("absolute h-8 w-8 rounded-full",n==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!l,onClick:s,...a,children:[Me(Es,{className:"h-6 w-6"}),Me("span",{className:"sr-only",children:"Previous slide"})]})});io.displayName="CarouselPrevious";var ro=L.forwardRef(({className:e,variant:t="secondary",size:o="default",...a},i)=>{let{orientation:n,scrollNext:s,canScrollNext:l}=eo();return Qa(ge,{ref:i,variant:t,size:o,className:r("absolute h-8 w-8 rounded-full",n==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!l,onClick:s,...a,children:[Me(Fs,{className:"h-6 w-6"}),Me("span",{className:"sr-only",children:"Next slide"})]})});ro.displayName="CarouselNext";import*as qa from"react";import*as Ie from"@radix-ui/react-popover";import{jsx as Xa}from"react/jsx-runtime";var kt=Ie.Root,St=Ie.Trigger,ft=qa.forwardRef(({className:e,align:t="center",sideOffset:o=4,...a},i)=>Xa(Ie.Portal,{children:Xa(Ie.Content,{ref:i,align:t,sideOffset:o,className:r("z-50 w-72 rounded-md border border-gray-200 bg-white p-4 sm:p-5 text-gray-900 shadow-small outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));ft.displayName=Ie.Content.displayName;import{format as no}from"date-fns";import{Calendar as Hs}from"lucide-react";import{QuestionMarkCircleIcon as _s,XCircleIcon as zs}from"@heroicons/react/16/solid";import{Fragment as Za,jsx as se,jsxs as Dt}from"react/jsx-runtime";var Bs=({label:e,placeholder:t="Select a value",size:o=1,message:a,isError:i,disabled:n,dateFormat:s="dd/MM/yyyy",buttonProps:l,popoverProps:f,calendarProps:p})=>{let c=p?.selected||null;return Dt("div",{children:[Dt(kt,{...f,children:[se(St,{asChild:!0,children:Dt(ne,{variant:"secondary",className:r("w-full justify-between text-left text-sm font-normal h-11 text-gray-900 overflow-visible hover:ring-1 focus:ring-1 hover:ring-gray-400 focus:ring-gray-400 [&[data-state=open]]:border-pink-500 [&[data-state=open]]:ring-pink-500 [&[data-state=open]]:ring-1 relative disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none disabled:text-gray-500",o===2&&"h-12 text-base",(!c||!(c instanceof Date)&&typeof c=="object"&&(!("from"in c)||!c.from))&&"text-gray-500",i&&"border-red-500 ring-red-500 ring-1"),disabled:n,...l,children:[se("span",{className:"line-clamp-1 flex-1",children:c instanceof Date?no(c,s):c&&typeof c=="object"&&"from"in c&&"to"in c?se(Za,{children:c.from?c.to?Dt(Za,{children:[se("span",{className:"date-from",children:no(c.from,s)})," -"," ",se("span",{className:"date-to",children:no(c.to,s)})]}):no(c.from,s):t}):t}),e&&se("span",{className:r("absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",o===2&&" -top-2.5 text-sm",i&&"text-red-500"),children:e}),se(Hs,{className:"ml-2 h-4 w-4 text-gray-500 flex-none"})]})}),se(ft,{className:"w-auto !p-0 border-none",children:se(Jt,{...p})})]}),a&&Dt("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[i?se(zs,{width:16,height:16,className:"text-red-500"}):se(_s,{width:16,height:16,className:"text-gray-500"}),se("span",{className:r(i?"text-red-500":"text-gray-500",o===2?"text-sm":"text-xs"),children:a})]})]})};import*as tt from"react";import*as C from"@radix-ui/react-alert-dialog";import{jsx as Ae,jsxs as Ws}from"react/jsx-runtime";var Vs=C.Root,Os=C.Trigger,Ka=C.Portal,_o=tt.forwardRef(({className:e,...t},o)=>Ae(C.Overlay,{className:r("fixed inset-0 z-50 bg-black/70 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:o}));_o.displayName=C.Overlay.displayName;var Ya=tt.forwardRef(({className:e,...t},o)=>Ws(Ka,{children:[Ae(_o,{}),Ae(C.Content,{ref:o,className:r("fixed left-[50%] w-[90vw] bg-white text-gray-700 border border-gray-300 top-[50%] z-50 grid w- max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] rounded-xl",e),...t})]}));Ya.displayName=C.Content.displayName;var Ja=({className:e,...t})=>Ae("div",{className:r("flex flex-col space-y-2 text-left",e),...t});Ja.displayName="AlertDialogHeader";var ei=({className:e,...t})=>Ae("div",{className:r("flex flex-row justify-end space-x-4",e),...t});ei.displayName="AlertDialogFooter";var ti=tt.forwardRef(({className:e,...t},o)=>Ae(C.Title,{ref:o,className:r("text-lg text-gray-900 font-semibold",e),...t}));ti.displayName=C.Title.displayName;var oi=tt.forwardRef(({className:e,...t},o)=>Ae(C.Description,{ref:o,className:r("text-sm text-muted-foreground",e),...t}));oi.displayName=C.Description.displayName;var ai=tt.forwardRef(({className:e,...t},o)=>Ae(C.Action,{ref:o,className:r(xe({variant:"primary"}),"",e),...t}));ai.displayName=C.Action.displayName;var ii=tt.forwardRef(({className:e,...t},o)=>Ae(C.Cancel,{ref:o,className:r(xe({variant:"secondary"}),e),...t}));ii.displayName=C.Cancel.displayName;import{createContext as Gs,useContext as ri}from"react";import{jsx as Mt}from"react/jsx-runtime";var zo=Gs({align:"center"}),Bo=({color:e="pink",size:t="small",isTruncated:o=!1,className:a,children:i})=>{let n={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},s={small:"text-sm",large:"text-lg"};return Mt("div",{className:r("mb-1 font-semibold",n[e],s[t],o&&"truncate",a),children:i})},Vo=({tagHeading:e="h2",size:t="small",color:o="pink",isTruncated:a=!1,className:i,children:n})=>{let s=e,l={regular:"text-gray-900",pink:"text-pink-500",white:"text-white"},f={small:"lg:text-3xl text-2xl",large:"lg:text-4xl md:text-3xl text-2xl"},{align:p}=ri(zo);return Mt(s,{className:r("font-bold max-w-4xl",p==="center"?"mx-auto":p==="right"?"ml-auto":"",l[o],f[t],a&&"truncate","text-balance md:text-wrap",i),children:n})},Oo=({color:e="regular",size:t="small",marginTop:o="spacingX",isTruncated:a=!1,className:i,children:n})=>{let s={regular:"text-gray-500",white:"text-white/80"},l={small:"md:text-base text-sm",large:"md:text-lg text-base"},f={none:"",spacingX:"mt-2",spacingM:"mt-3",spacingL:"mt-4",spacingXl:"mt-5",spacing2Xl:"mt-6"},{align:p}=ri(zo);return Mt("div",{className:r(p==="center"?"mx-auto max-w-2xl":p==="right"?"max-w-4xl ml-auto":"max-w-4xl",s[e],l[t],f[o],a&&"truncate",i),children:n})},Wo=({className:e,align:t="center",children:o})=>Mt("div",{className:r("mb-5 md:mb-8",{left:"text-left",center:"text-center",right:"text-right"}[t],e),children:Mt(zo.Provider,{value:{align:t},children:o})});import{ChevronLeft as $s,ChevronRight as js}from"lucide-react";import{Fragment as Us,jsx as le,jsxs as ni}from"react/jsx-runtime";function si({current:e,total:t,onChange:o}){let a=i=>le("li",{children:le("button",{className:r(et({variant:e===i?"outline":"secondary",size:"sm"})),onClick:()=>o(i),children:i})},i);return le("nav",{role:"navigation","aria-label":"pagination",className:r("mx-auto flex w-full justify-center"),children:ni("ul",{className:r("flex flex-row flex-wrap items-center gap-2"),children:[t>1&&le("li",{children:le("button",{className:r(et({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>e>1&&o(e-1),children:le($s,{className:"h-4 w-4"})})}),t<=6?Array(t).fill(0).map((i,n)=>a(n+1)):ni(Us,{children:[a(1),e===1&&[a(2),a(3)],e>3&&le("li",{children:le("button",{className:r(et({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e-3),children:"..."})}),e>2&&e!==1&&e!==t&&a(e-1),e>1&&e<t&&a(e),e<t-1&&e!==1&&a(e+1),e===t&&[a(t-2),a(t-1)],e<t-2&&e!==t&&le("button",{className:r(et({variant:"secondary",size:"sm"})),disabled:e===1,onClick:()=>o(e+3),children:"..."}),a(t)]}),t>1&&le("li",{children:le("button",{className:r(et({variant:"secondary",size:"sm"})),disabled:e===t,onClick:()=>e<t&&o(e+1),children:le(js,{className:"h-4 w-4"})})})]})})}import*as so from"react";import*as ue from"@radix-ui/react-tabs";import{jsx as Go}from"react/jsx-runtime";var It=ue.Root,gt=so.forwardRef(({className:e,size:t="sm",isDivider:o=!1,...a},i)=>Go(ue.List,{ref:i,className:r("inline-flex w-full flex-row items-center bg-muted text-muted-foreground space-x-5 overflow-x-auto [&::-webkit-scrollbar]:hidden",`text-${t}`,o&&"border-b border-gray-200",e),...a}));gt.displayName=ue.List.displayName;var ut=so.forwardRef(({className:e,...t},o)=>Go(ue.Trigger,{ref:o,className:r("inline-flex items-center justify-center whitespace-nowrap py-3 font-semibold ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 border-b-2 border-transparent data-[state=active]:text-pink-500 data-[state=active]:border-pink-500 text-gray-900 hover:text-pink-500",e),...t}));ut.displayName=ue.Trigger.displayName;var vt=so.forwardRef(({className:e,...t},o)=>Go(ue.Content,{ref:o,className:r("mt-3 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 text-gray-900",e),...t}));vt.displayName=ue.Content.displayName;import{forwardRef as Qs}from"react";import{QuestionMarkCircleIcon as Xs}from"@heroicons/react/24/outline";import{XCircleIcon as qs}from"@heroicons/react/24/solid";import{jsx as bt,jsxs as li}from"react/jsx-runtime";var Zs=Qs(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,size:s,rows:l=3,...f},p)=>li("div",{className:r("relative",i,t&&"mobase-text-area-error"),children:[a&&bt("span",{className:r("mobase-text-area-label absolute bg-white -top-2.5 px-1.5 left-2 text-sm text-gray-500",s===2&&" -top-2.5 text-sm"),children:a}),bt("textarea",{disabled:e,ref:p,className:r("mobase-text-area-box bg-white w-full text-sm transition-all rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 outline-none block",s===2&&"text-base",n),rows:l,...f}),o&&li("div",{className:"mobase-text-area-message flex space-x-1 items-center mt-0.5",children:[t?bt(qs,{width:16,height:16,className:"text-red-500"}):bt(Xs,{width:16,height:16,className:"text-gray-500"}),bt("span",{className:r("text-gray-500 ",s===2?"text-sm":"text-xs"),children:o})]}),bt("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 Pt from"react";import*as ie from"@radix-ui/react-accordion";import{Che
|
|
|
94
94
|
color: rgb(var(--mobase-red-500) / 1);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
`})]}));import*as
|
|
97
|
+
`})]}));import*as co from"react";var Ks=1,Ys=1e6;var $o=0;function Js(){return $o=($o+1)%Number.MAX_SAFE_INTEGER,$o.toString()}var jo=new Map,mi=e=>{if(jo.has(e))return;let t=setTimeout(()=>{jo.delete(e),At({type:"REMOVE_TOAST",toastId:e})},Ys);jo.set(e,t)},el=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Ks)};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?mi(o):e.toasts.forEach(a=>{mi(a.id)}),{...e,toasts:e.toasts.map(a=>a.id===o||o===void 0?{...a,open:!1}:a)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};default:return e}},lo=[],mo={toasts:[]};function At(e){mo=el(mo,e),lo.forEach(t=>{t(mo)})}function ci({...e}){let t=Js(),o=i=>At({type:"UPDATE_TOAST",toast:{...i,id:t}}),a=()=>At({type:"DISMISS_TOAST",toastId:t});return At({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||a()}}}),{id:t,dismiss:a,update:o}}function Uo(){let[e,t]=co.useState(mo);return co.useEffect(()=>(lo.push(t),()=>{let o=lo.indexOf(t);o>-1&&lo.splice(o,1)}),[e]),{...e,toast:ci,dismiss:o=>At({type:"DISMISS_TOAST",toastId:o})}}import*as ot from"react";import*as H from"@radix-ui/react-toast";import{cva as tl}from"class-variance-authority";import{XMarkIcon as ol,CheckCircleIcon as al,ExclamationTriangleIcon as il,InformationCircleIcon as rl}from"@heroicons/react/20/solid";import{jsx as Le,jsxs as di}from"react/jsx-runtime";var pi=H.Provider,Qo=ot.forwardRef(({className:e,...t},o)=>Le(H.Viewport,{ref:o,className:r("fixed bottom-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 left-0 sm:right-0 sm:left-auto sm:top-0 sm:bottom-auto sm:flex-col md:max-w-[420px]",e),...t}));Qo.displayName=H.Viewport.displayName;var nl=tl("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"}}),Xo=ot.forwardRef(({className:e,variant:t="sucess",children:o,...a},i)=>di(H.Root,{ref:i,className:r(nl({variant:t}),e),...a,children:[di("div",{className:"w-5 h-5 flex items-center justify-center absolute top-4 left-3",children:[t==="sucess"&&Le(al,{className:"w-5 h-5 text-green-500"}),t==="warning"&&Le(il,{className:"w-5 h-5 text-yellow-500"}),t==="error"&&Le(rl,{className:"w-5 h-5 text-red-500"})]}),o]}));Xo.displayName=H.Root.displayName;var fi=ot.forwardRef(({className:e,...t},o)=>Le(H.Action,{ref:o,className:r("inline-flex shrink-0 items-center justify-center bg-transparent text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-0 focus:ring-ring focus:ring-offset-0 disabled:pointer-events-none disabled:opacity-50 text-blue-600 hover:underline mt-2",e),...t}));fi.displayName=H.Action.displayName;var qo=ot.forwardRef(({className:e,...t},o)=>Le(H.Close,{ref:o,className:r("absolute right-2 top-2 rounded-md transition-opacity hover:opacity-70 focus:opacity-100 focus:outline-none focus:ring-2 text-gray-800 w-8 h-8 flex items-center justify-center",e),"toast-close":"",...t,children:Le(ol,{className:"h-5 w-5"})}));qo.displayName=H.Close.displayName;var Zo=ot.forwardRef(({className:e,...t},o)=>Le(H.Title,{ref:o,className:r("text-base font-semibold leading-tight",e),...t}));Zo.displayName=H.Title.displayName;var Ko=ot.forwardRef(({className:e,...t},o)=>Le(H.Description,{ref:o,className:r("text-sm opacity-90",e),...t}));Ko.displayName=H.Description.displayName;import{jsx as po,jsxs as Yo}from"react/jsx-runtime";function sl(){let{toasts:e}=Uo();return Yo(pi,{children:[e.map(function({id:t,title:o,description:a,action:i,...n}){return Yo(Xo,{...n,children:[Yo("div",{className:"grid gap-2",children:[o&&po(Zo,{children:o}),a&&po(Ko,{children:a})]}),i,po(qo,{})]},t)}),po(Qo,{})]})}import*as gi from"react";import{Slot as ll}from"@radix-ui/react-slot";import{cva as ml}from"class-variance-authority";import{jsx as cl}from"react/jsx-runtime";var ui=ml("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"}}),ze=gi.forwardRef(({className:e,variant:t="default",size:o="default",asChild:a=!1,isDisabled:i=!1,...n},s)=>{let l=a?ll:"button",f=r(ui({variant:t,size:o,className:e}));return cl(l,{className:f,disabled:i,ref:s,...n,children:n.children})});ze.displayName="TextButton";import*as Jo from"react";import*as me from"@radix-ui/react-tooltip";import{jsx as xi}from"react/jsx-runtime";var dl=me.Provider,pl=me.Root,fl=me.Trigger,vi=Jo.forwardRef((e,t)=>xi(me.Arrow,{ref:t,className:r("drop-shadow-md",e.className),...e}));vi.displayName=me.Arrow.displayName;var bi=Jo.forwardRef(({className:e,type:t="dark",sideOffset:o=4,...a},i)=>xi(me.Content,{ref:i,sideOffset:o,className:r("z-50 overflow-hidden rounded-md text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 p-1.5 shadow-md",t==="light"?"bg-white text-gray-900 fill-white":"bg-gray-800 fill-gray-800 text-white",e),...a}));bi.displayName=me.Content.displayName;import{forwardRef as gl,useEffect as ul,useRef as vl,useState as bl}from"react";import{QuestionMarkCircleIcon as xl,XCircleIcon as hl,XCircleIcon as yl}from"@heroicons/react/16/solid";import{jsx as Be,jsxs as ea}from"react/jsx-runtime";var wl=gl(({disabled:e,isError:t,message:o,label:a,className:i,inputClassName:n,withClearButton:s,size:l,onChange:f,onFocus:p,onClickClear:c,value:g,defaultValue:v,type:S="text",...E},G)=>{let[D,B]=bl(!1),V=vl(null),F=ee=>{ee&&!D&&B(!0),!ee&&D&&B(!1)},ka=ee=>{s&&F(ee.target.value),f?.(ee)},So=ee=>{s&&F(ee.target.value),p?.(ee)},Wn=()=>{let ee=V.current?.querySelector("input");ee&&(c?.(ee.value),ee.value="",ee.focus(),B(!1))};return ul(()=>{F(v||g)},[g,v]),ea("div",{className:r(i,t&&"mobase-text-input-error"),ref:V,children:[ea("div",{className:"relative",children:[a&&Be("span",{className:r("mobase-text-input-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500",l===2&&" -top-2.5 text-sm"),children:a}),Be("input",{disabled:e,type:S,ref:G,className:r("mobase-text-input-box bg-white w-full transition-all text-sm rounded-md border border-gray-300 placeholder:text-gray-500 p-3 text-gray-900 h-11 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none block outline-none",l===2&&"h-12 text-base",n),onChange:ka,onFocus:So,value:g,defaultValue:v,...E}),s&&D&&Be("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:Wn,children:Be(hl,{strokeWidth:2,width:20,height:20})})]}),o&&ea("div",{className:"mobase-text-input-message flex space-x-1 items-center mt-0.5",children:[t?Be(yl,{width:16,height:16,className:"text-red-500"}):Be(xl,{width:16,height:16,className:"text-gray-500"}),Be("span",{className:r("text-gray-500 ",l===2?"text-sm":"text-xs"),children:o})]}),Be("style",{children:`
|
|
98
98
|
.mobase-text-input-box:hover {
|
|
99
99
|
box-shadow: 0px 0px 0px 1px rgb(var(--mobase-gray-400) / 1) inset;
|
|
100
100
|
}
|
|
@@ -117,26 +117,26 @@ import*as Pt from"react";import*as ie from"@radix-ui/react-accordion";import{Che
|
|
|
117
117
|
color: rgb(var(--mobase-red-500) / 1);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
`})]})});import{MinusCircleIcon as wl,PlusCircleIcon as Nl}from"@heroicons/react/24/outline";import{forwardRef as Pl,useState as Cl}from"react";import{jsx as Lt,jsxs as ea}from"react/jsx-runtime";var ui=Pl(({className:e,min:t=0,max:o=10,step:a=1,defaultValue:i=0,onChangeValue:n,onDecrease:s,onIncrease:l,disabled:d=!1,...p},f)=>{let[u,b]=Cl(i),L=()=>{let S=Math.min(u+a,o);b(S),n?.(S),l?.(S)},_=()=>{let S=Math.max(u-a,t);b(S),n?.(S),s?.(S)},W=S=>{let z=parseFloat(S.target.value);if(!isNaN(z)){let B=Math.max(Math.min(z,o),t);b(B),n?.(B)}};return ea("div",{ref:f,className:r("flex items-center ",e),children:[ea(fe,{className:r(" text-pink-500 cursor-pointer w-9 h-9",d&&"text-gray-400 cursor-default"),variant:"transparent",onClick:_,disabled:d||u<=t,children:[Lt(wl,{className:"w-7 h-7 "}),Lt("span",{className:"sr-only",children:"Decrease value"})]}),Lt("input",{type:"number",value:u,onChange:W,className:"flex text-center min-w-8 w-8 h-8 border-0 bg-white text-base text-gray-900 ring-offset-none placeholder:text-gray-500 font-medium focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 shadow-none disabled:cursor-not-allowed disabled:opacity-50 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",min:t,max:o,step:a,disabled:d,...p}),ea(fe,{className:r(" text-pink-500 cursor-pointer w-9 h-9",d&&"text-gray-400 cursor-default"),variant:"transparent",onClick:L,disabled:d||u>=o,children:[Lt(Nl,{className:"w-7 h-7 "}),Lt("span",{className:"sr-only",children:"Increase value"})]})]})});ui.displayName="Stepper";import*as ye from"react";import{ChevronDownIcon as vi,ChevronUpIcon as Rl,CheckIcon as Tl,XCircleIcon as kl}from"@heroicons/react/16/solid";import{QuestionMarkCircleIcon as Sl}from"@heroicons/react/24/outline";import*as x from"@radix-ui/react-select";import{jsx as k,jsxs as Et}from"react/jsx-runtime";var Dl=ye.forwardRef(({className:e,children:t,label:o,message:a,size:i,isError:n,disabled:s,...l},d)=>Et("div",{ref:d,className:r("select-mobase relative",e,s?"disabled":"",n?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",i===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[o&&k("span",{className:r("mobase-select-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",i===2&&"text-sm -top-2.5",n&&"text-red-500"),children:o}),k(x.Root,{disabled:s,...l,children:t}),a&&Et("div",{className:r("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?k(kl,{width:16,height:16}):k(Sl,{width:16,height:16}),k("span",{className:r(i===2?"text-sm":"text-xs"),children:a})]})]})),Ml=x.Value,bi=ye.forwardRef(({className:e,children:t,...o},a)=>Et(x.Trigger,{ref:a,className:r("select-mobase-button bg-white w-full ring-0 transition-all focus-visible:border-pink-500 focus-visible:ring-offset-0 focus-visible:ring-offset-transparent focus-visible:ring-1 focus-visible:!ring-pink-500 rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),...o,children:[k("div",{className:"line-clamp-1 text-left",children:t}),k(x.Icon,{asChild:!0,children:k(vi,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));bi.displayName=x.Trigger.displayName;var ta=ye.forwardRef(({className:e,...t},o)=>k(x.ScrollUpButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1",e),...t,children:k(Rl,{className:"h-5 w-5"})}));ta.displayName=x.ScrollUpButton.displayName;var oa=ye.forwardRef(({className:e,...t},o)=>k(x.ScrollDownButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:k(vi,{className:"h-5 w-5"})}));oa.displayName=x.ScrollDownButton.displayName;var xi=ye.forwardRef(({className:e,children:t,position:o="popper",...a},i)=>k(x.Portal,{children:Et(x.Content,{ref:i,className:r("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white text-gray-900 shadow-small data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...a,children:[k(ta,{}),k(x.Viewport,{className:r("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),k(oa,{})]})}));xi.displayName=x.Content.displayName;var Il=ye.forwardRef(({className:e,children:t,...o},a)=>k(x.Group,{ref:a,className:r("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),hi=ye.forwardRef(({className:e,...t},o)=>k(x.Label,{ref:o,className:r("pr-2 pl-7 py-1.5 text-sm font-semibold z-[1]",e),...t}));hi.displayName=x.Label.displayName;var Al=ye.forwardRef(({className:e,children:t,...o},a)=>Et(x.Item,{ref:a,className:r("relative flex w-full cursor-default select-none items-center rounded-md py-1.5 pl-7 pr-2 text-sm outline-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[k("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:k(x.ItemIndicator,{children:k(Tl,{className:"h-4 w-4 text-pink-500"})})}),k(x.ItemText,{children:t})]})),yi=ye.forwardRef(({className:e,...t},o)=>k(x.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));yi.displayName=x.Separator.displayName;import*as ue from"react";import*as D from"@radix-ui/react-navigation-menu";import{cva as Ll}from"class-variance-authority";import{ChevronDownIcon as El}from"@heroicons/react/16/solid";import{jsx as we,jsxs as Bl}from"react/jsx-runtime";var wi=ue.createContext(null),Fl=({value:e,children:t})=>we(wi.Provider,{value:e,children:t}),Hl=()=>{let e=ue.useContext(wi);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},co=ue.forwardRef(({className:e,children:t,alignDropdown:o="left",...a},i)=>we(Fl,{value:{alignDropdown:o},children:we(D.Root,{ref:i,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:t})}));co.displayName=D.Root.displayName;var po=ue.forwardRef(({className:e,...t},o)=>we(D.List,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));po.displayName=D.List.displayName;var fo=D.Item,go=Ll(be({variant:"transparent",size:"sm"})),uo=ue.forwardRef(({className:e,children:t,...o},a)=>Bl(D.Trigger,{ref:a,className:r(go(),"group px-2",e),...o,children:[t," ",we(El,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));uo.displayName=D.Trigger.displayName;var vo=ue.forwardRef(({className:e,...t},o)=>{let{alignDropdown:a}=Hl();return we(D.Content,{ref:o,className:r("absolute top-full mt-3 rounded-lg bg-white text-gray-900 ring-1 ring-gray-900/5 shadow-[0_10px_32px_rgba(34,42,53,0.15),0_1px_1px_rgba(0,0,0,0.05),0_4px_6px_rgba(34,42,53,0.08),0_1px_1px_rgba(34,42,53,0.1),0_24px_68px_rgba(47,48,55,0.1)]",e,"before:content-[''] before:absolute before:-top-3 before:left-0 before:right-0 before:w-full before:bg-transparent before:opacity-0 before:h-3",a!=="center"&&"data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out ",a==="left"&&"left-0",a==="right"&&"right-0",a==="center"&&" left-1/2 -translate-x-1/2 "),...t})});vo.displayName=D.Content.displayName;var Ft=D.Link,_l=ue.forwardRef(({className:e,...t},o)=>we("div",{className:r("absolute left-0 top-full flex justify-center"),children:we(D.Viewport,{className:r("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:o,...t})}));_l.displayName=D.Viewport.displayName;var zl=ue.forwardRef(({className:e,...t},o)=>we(D.Indicator,{ref:o,className:r("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t,children:we("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));zl.displayName=D.Indicator.displayName;import*as Pi from"react";import*as Ht from"@radix-ui/react-switch";import{jsx as Ni}from"react/jsx-runtime";var Ci=Pi.forwardRef(({className:e,...t},o)=>Ni(Ht.Root,{className:r("peer inline-flex h-5 w-10 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-default disabled:opacity-20 data-[state=checked]:bg-pink-500 data-[state=unchecked]:bg-gray-400",e),...t,ref:o,children:Ni(Ht.Thumb,{className:r("pointer-events-none relative cik before:content-[''] before:absolute before:w-1.5 before:h-1.5 before:rounded-full before:bg-pink-600 before:-translate-x-1/2 before:translate-y-1 disabled:opacity-20 before:data-[state=unchecked]:bg-gray-400 block h-3.5 w-3.5 bg-white rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0.5")})}));Ci.displayName=Ht.Root.displayName;import*as tt from"react";import*as ze from"@radix-ui/react-radio-group";import{Circle as Vl}from"lucide-react";import{cva as Ri}from"class-variance-authority";import{jsx as _t}from"react/jsx-runtime";var Ol=Ri("aspect-square rounded-full border-2 border-gray-300 disabled:bg-gray-100 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-400 data-[state=checked]:bg-pink-500 data-[state=checked]:border-none ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default peer",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),Gl=Ri("fill-current text-current",{variants:{size:{medium:"h-2 w-2 ",large:"w-2.5 h-2.5"}},defaultVariants:{size:"medium"}}),Ti=tt.createContext({size:"medium"});function Wl(){let e=tt.useContext(Ti);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var ki=tt.forwardRef(({className:e,size:t,...o},a)=>_t(Ti.Provider,{value:{size:t},children:_t(ze.Root,{className:r("grid gap-2",e),...o,ref:a})}));ki.displayName=ze.Root.displayName;var Si=tt.forwardRef(({className:e,...t},o)=>{let a=Wl(),{size:i}=a??{};return _t(ze.Item,{ref:o,className:r(Ol({size:i}),e),...t,children:_t(ze.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:_t(Vl,{className:r(Gl({size:i}))})})})});Si.displayName=ze.Item.displayName;import{jsx as bt,jsxs as Di}from"react/jsx-runtime";var $l=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return bt("li",{className:"",children:bt(Ft,{asChild:!0,children:Di("a",{className:r(" select-none space-y-1 rounded-md px-2 py-2 leading-none no-underline outline-none transition-colors hover:bg-pink-50 hover:text-pink-500 focus:bg-pink-50 focus:text-pink-500 flex flex-nowrap space-x-2 min-h-9 ",e,!t&&"items-center px-3"),href:i,...s,children:[t&&bt("div",{className:"w-7 h-7 shrink-0 mt-1",children:bt("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),Di("div",{className:" ",children:[bt("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),a&&bt("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:a})]})]})})})},Mi=$l;import{jsx as Be,jsxs as Ql}from"react/jsx-runtime";var jl=({data:e,alignDropdown:t})=>Be(co,{alignDropdown:t,children:Be(po,{children:e.map(o=>{let a=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?Ql(fo,{className:"relative",children:[Be(uo,{children:o.title}),Be(vo,{children:Be("ul",{className:r("grid w-[300px] p-2 grid-cols-1",o.dropDownCompact===!0&&o.subMenu.length>6&&" w-[530px] md:grid-cols-2 ",o.dropDownCompact===!0&&o.subMenu.length>12&&" w-[800px] md:grid-cols-3 "),children:o.subMenu&&o.subMenu.map(i=>Be(Mi,{title:i.title,href:i.url,newTab:i.newTab,icon:o.dropDownCompact===!0?i.icon:"",children:o.dropDownCompact===!0?i.description:""},i.title))})})]},o.id):Be(fo,{className:"relative",children:Be(Ft,{href:o.url,className:go(),...a,children:o.title})},o.id)})})}),Ii=jl;import{useEffect as Yl,useState as Jl}from"react";var bo=[.24,.25,.05,1];import{useKey as em}from"react-use";import Fi from"next/router";import{jsx as zt,jsxs as Ai}from"react/jsx-runtime";var Ul=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return zt("li",{className:"min-h-8",children:Ai("a",{className:r(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:i,...s,children:[t&&zt("div",{className:"w-6 h-6 shrink-0",children:zt("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),Ai("div",{className:" ",children:[zt("div",{className:"text-sm text-gray-800 line-clamp-1",children:o}),a&&zt("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:a})]})]})})},Li=Ul;import{motion as Xl}from"framer-motion";import{jsx as ot,jsxs as Kl}from"react/jsx-runtime";var ql={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:bo}},exit:{opacity:0,transition:{duration:.05}}},Zl=({data:e})=>ot(Qe,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return ot(Xl.div,{variants:ql,children:t.hasDropdown?Kl(Ue,{value:t.id,children:[ot(Xe,{className:"py-3",children:t.title}),ot(qe,{children:ot("ul",{className:r("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(a=>ot(Li,{title:a.title,href:a.url,newTab:a.newTab,icon:t.dropDownCompact===!0?a.icon:"",children:t.dropDownCompact===!0?a.description:""},a.title))})})]}):ot("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)})}),Ei=Zl;import{motion as aa,AnimatePresence as tm,LazyMotion as om,domAnimation as am}from"framer-motion";import{jsx as y,jsxs as Q}from"react/jsx-runtime";var im=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,rm=({data:e,className:t})=>{let[o,a]=Jl(!1);em("Escape",()=>a(!1)),Yl(()=>{if(!o)return;let s=im();function l(){a(!1)}return document.body.style.position="fixed",document.body.style.width="100%",Fi.events.on("routeChangeComplete",l),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:s||0,behavior:"instant"}),Fi.events.off("routeChangeComplete",l)}},[o]);let i={visible:{opacity:1,transition:{duration:.2}},hidden:{opacity:0,transition:{duration:.2}}},n={hidden:{opacity:0},show:{opacity:1,transition:{duration:.15,staggerChildren:.05,ease:bo}},exit:{opacity:0,transition:{duration:.15}}};return Q("div",{className:r(t),children:[Q("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>a(!o),children:[y("span",{className:"sr-only",children:"Navigation"}),y(aa.div,{animate:o?"hidden":"visible",variants:i,children:y("svg",{className:r("block w-7 h-7",o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:y("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),y(aa.div,{animate:o?"visible":"hidden",variants:i,children:y("svg",{className:r("block w-7 h-7",!o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:y("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),y(om,{features:am,children:y(tm,{mode:"wait",children:o&&Q(aa.nav,{variants:n,initial:"hidden",animate:"show",exit:"exit",className:r(t,"fixed block w-full max-w-full z-50 px-5 bg-white left-0 right-0 bottom-0 overflow-y-auto top-[calc(var(--header-height)+1px)] pb-24 "),children:[y(Ei,{data:e}),Q("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[y("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),Q("div",{className:"flex flex-nowrap",children:[y("div",{className:"flex-initial",children:y("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:y("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),y("div",{className:"ml-3 flex-initial",children:y("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:y("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),y("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),Q("ul",{className:"mb-2 text-sm text-gray-500",children:[Q("li",{className:"mb-1",children:["Hotline :\xA0",y("a",{href:`tel:${Te.Support.Hotline}`,className:"text-gray-600",children:Te.Support.Hotline_Format})]}),Q("li",{className:"mb-1",children:["Email :\xA0",y("a",{href:`mailto:${Te.Support.Email}`,className:"text-gray-600",children:Te.Support.Email})]})]}),y("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:Q("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:[y("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:y("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:Q("g",{children:[y("title",{children:"Asset 1"}),y("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 Nl,PlusCircleIcon as Pl}from"@heroicons/react/24/outline";import{forwardRef as Cl,useState as Rl}from"react";import{jsx as Lt,jsxs as ta}from"react/jsx-runtime";var hi=Cl(({className:e,min:t=0,max:o=10,step:a=1,defaultValue:i=0,onChangeValue:n,onDecrease:s,onIncrease:l,disabled:f=!1,...p},c)=>{let[g,v]=Rl(i),S=()=>{let D=Math.min(g+a,o);v(D),n?.(D),l?.(D)},E=()=>{let D=Math.max(g-a,t);v(D),n?.(D),s?.(D)},G=D=>{let B=parseFloat(D.target.value);if(!isNaN(B)){let V=Math.max(Math.min(B,o),t);v(V),n?.(V)}};return ta("div",{ref:c,className:r("flex items-center ",e),children:[ta(ge,{className:r(" text-pink-500 cursor-pointer w-9 h-9",f&&"text-gray-400 cursor-default"),variant:"transparent",onClick:E,disabled:f||g<=t,children:[Lt(Nl,{className:"w-7 h-7 "}),Lt("span",{className:"sr-only",children:"Decrease value"})]}),Lt("input",{type:"number",value:g,onChange:G,className:"flex text-center min-w-8 w-8 h-8 border-0 bg-white text-base text-gray-900 ring-offset-none placeholder:text-gray-500 font-medium focus-visible:outline-none focus-visible:ring-0 focus:ring-0 shadow-none focus-visible:ring-offset-0 shadow-none disabled:cursor-not-allowed disabled:opacity-50 [appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",min:t,max:o,step:a,disabled:f,...p}),ta(ge,{className:r(" text-pink-500 cursor-pointer w-9 h-9",f&&"text-gray-400 cursor-default"),variant:"transparent",onClick:S,disabled:f||g>=o,children:[Lt(Pl,{className:"w-7 h-7 "}),Lt("span",{className:"sr-only",children:"Increase value"})]})]})});hi.displayName="Stepper";import*as ye from"react";import{ChevronDownIcon as yi,ChevronUpIcon as Tl,CheckIcon as kl,XCircleIcon as Sl}from"@heroicons/react/16/solid";import{QuestionMarkCircleIcon as Dl}from"@heroicons/react/24/outline";import*as x from"@radix-ui/react-select";import{jsx as k,jsxs as Et}from"react/jsx-runtime";var Ml=ye.forwardRef(({className:e,children:t,label:o,message:a,size:i,isError:n,disabled:s,...l},f)=>Et("div",{ref:f,className:r("select-mobase relative",e,s?"disabled":"",n?"[&>.select-mobase-button]:border-red-500 [&>.select-mobase-button]:ring-red-500 [&>.select-mobase-button]:ring-1":"",i===2?"[&>.select-mobase-button]:text-base [&>.select-mobase-button]:h-12":""),children:[o&&k("span",{className:r("mobase-select-label absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",i===2&&"text-sm -top-2.5",n&&"text-red-500"),children:o}),k(x.Root,{disabled:s,...l,children:t}),a&&Et("div",{className:r("mobase-select-message flex space-x-1 items-center mt-1 text-gray-500",n&&"text-red-500"),children:[n?k(Sl,{width:16,height:16}):k(Dl,{width:16,height:16}),k("span",{className:r(i===2?"text-sm":"text-xs"),children:a})]})]})),Il=x.Value,wi=ye.forwardRef(({className:e,children:t,...o},a)=>Et(x.Trigger,{ref:a,className:r("select-mobase-button bg-white w-full ring-0 transition-all focus-visible:border-pink-500 focus-visible:ring-offset-0 focus-visible:ring-offset-transparent focus-visible:ring-1 focus-visible:!ring-pink-500 rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",e),...o,children:[k("div",{className:"line-clamp-1 text-left",children:t}),k(x.Icon,{asChild:!0,children:k(yi,{className:"h-4 w-4 text-gray-500 flex-none"})})]}));wi.displayName=x.Trigger.displayName;var oa=ye.forwardRef(({className:e,...t},o)=>k(x.ScrollUpButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1",e),...t,children:k(Tl,{className:"h-5 w-5"})}));oa.displayName=x.ScrollUpButton.displayName;var aa=ye.forwardRef(({className:e,...t},o)=>k(x.ScrollDownButton,{ref:o,className:r("flex cursor-default items-center justify-center py-1 bg-gradient-to-t from-white to-transparent",e),...t,children:k(yi,{className:"h-5 w-5"})}));aa.displayName=x.ScrollDownButton.displayName;var Ni=ye.forwardRef(({className:e,children:t,position:o="popper",...a},i)=>k(x.Portal,{children:Et(x.Content,{ref:i,className:r("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white text-gray-900 shadow-small data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:o,...a,children:[k(oa,{}),k(x.Viewport,{className:r("p-0",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),k(aa,{})]})}));Ni.displayName=x.Content.displayName;var Al=ye.forwardRef(({className:e,children:t,...o},a)=>k(x.Group,{ref:a,className:r("relative p-1 after:w-full border-b border-gray-200 last:border-0",e),...o,children:t})),Pi=ye.forwardRef(({className:e,...t},o)=>k(x.Label,{ref:o,className:r("pr-2 pl-7 py-1.5 text-sm font-semibold z-[1]",e),...t}));Pi.displayName=x.Label.displayName;var Ll=ye.forwardRef(({className:e,children:t,...o},a)=>Et(x.Item,{ref:a,className:r("relative flex w-full cursor-default select-none items-center rounded-md py-1.5 pl-7 pr-2 text-sm outline-none focus:bg-gray-100 focus:text-gray-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:[k("span",{className:"absolute left-2 flex h-4 w-4 items-center justify-center",children:k(x.ItemIndicator,{children:k(kl,{className:"h-4 w-4 text-pink-500"})})}),k(x.ItemText,{children:t})]})),Ci=ye.forwardRef(({className:e,...t},o)=>k(x.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-muted",e),...t}));Ci.displayName=x.Separator.displayName;import*as ve from"react";import*as M from"@radix-ui/react-navigation-menu";import{cva as El}from"class-variance-authority";import{ChevronDownIcon as Fl}from"@heroicons/react/16/solid";import{jsx as we,jsxs as Vl}from"react/jsx-runtime";var Ri=ve.createContext(null),Hl=({value:e,children:t})=>we(Ri.Provider,{value:e,children:t}),_l=()=>{let e=ve.useContext(Ri);if(!e)throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");return e},fo=ve.forwardRef(({className:e,children:t,alignDropdown:o="left",...a},i)=>we(Hl,{value:{alignDropdown:o},children:we(M.Root,{ref:i,className:r("relative z-10 flex max-w-max flex-1 items-center justify-center",e),...a,children:t})}));fo.displayName=M.Root.displayName;var go=ve.forwardRef(({className:e,...t},o)=>we(M.List,{ref:o,className:r("group flex flex-1 list-none items-center justify-center space-x-0",e),...t}));go.displayName=M.List.displayName;var uo=M.Item,vo=El(xe({variant:"transparent",size:"sm"})),bo=ve.forwardRef(({className:e,children:t,...o},a)=>Vl(M.Trigger,{ref:a,className:r(vo(),"group px-2",e),...o,children:[t," ",we(Fl,{className:"relative ml-1 h-4 w-4 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]}));bo.displayName=M.Trigger.displayName;var xo=ve.forwardRef(({className:e,...t},o)=>{let{alignDropdown:a}=_l();return we(M.Content,{ref:o,className:r("absolute top-full mt-3 rounded-lg bg-white text-gray-900 ring-1 ring-gray-900/5 shadow-[0_10px_32px_rgba(34,42,53,0.15),0_1px_1px_rgba(0,0,0,0.05),0_4px_6px_rgba(34,42,53,0.08),0_1px_1px_rgba(34,42,53,0.1),0_24px_68px_rgba(47,48,55,0.1)]",e,"before:content-[''] before:absolute before:-top-3 before:left-0 before:right-0 before:w-full before:bg-transparent before:opacity-0 before:h-3",a!=="center"&&"data-[state=open]:animate-in data-[state=open]:fade-in data-[state=open]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out ",a==="left"&&"left-0",a==="right"&&"right-0",a==="center"&&" left-1/2 -translate-x-1/2 "),...t})});xo.displayName=M.Content.displayName;var Ft=M.Link,zl=ve.forwardRef(({className:e,...t},o)=>we("div",{className:r("absolute left-0 top-full flex justify-center"),children:we(M.Viewport,{className:r("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",e),ref:o,...t})}));zl.displayName=M.Viewport.displayName;var Bl=ve.forwardRef(({className:e,...t},o)=>we(M.Indicator,{ref:o,className:r("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",e),...t,children:we("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})}));Bl.displayName=M.Indicator.displayName;import*as ki from"react";import*as Ht from"@radix-ui/react-switch";import{jsx as Ti}from"react/jsx-runtime";var Si=ki.forwardRef(({className:e,...t},o)=>Ti(Ht.Root,{className:r("peer inline-flex h-5 w-10 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-default disabled:opacity-20 data-[state=checked]:bg-pink-500 data-[state=unchecked]:bg-gray-400",e),...t,ref:o,children:Ti(Ht.Thumb,{className:r("pointer-events-none relative cik before:content-[''] before:absolute before:w-1.5 before:h-1.5 before:rounded-full before:bg-pink-600 before:-translate-x-1/2 before:translate-y-1 disabled:opacity-20 before:data-[state=unchecked]:bg-gray-400 block h-3.5 w-3.5 bg-white rounded-full shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0.5")})}));Si.displayName=Ht.Root.displayName;import*as at from"react";import*as Ve from"@radix-ui/react-radio-group";import{Circle as Ol}from"lucide-react";import{cva as Di}from"class-variance-authority";import{jsx as _t}from"react/jsx-runtime";var Wl=Di("aspect-square rounded-full border-2 border-gray-300 disabled:bg-gray-100 disabled:data-[state=checked]:text-gray-100 data-[state=checked]:text-white disabled:data-[state=checked]:bg-gray-400 data-[state=checked]:bg-pink-500 data-[state=checked]:border-none ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-default peer",{variants:{size:{medium:"h-4 w-4",large:"w-5 h-5"}},defaultVariants:{size:"medium"}}),Gl=Di("fill-current text-current",{variants:{size:{medium:"h-2 w-2 ",large:"w-2.5 h-2.5"}},defaultVariants:{size:"medium"}}),Mi=at.createContext({size:"medium"});function $l(){let e=at.useContext(Mi);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var Ii=at.forwardRef(({className:e,size:t,...o},a)=>_t(Mi.Provider,{value:{size:t},children:_t(Ve.Root,{className:r("grid gap-2",e),...o,ref:a})}));Ii.displayName=Ve.Root.displayName;var Ai=at.forwardRef(({className:e,...t},o)=>{let a=$l(),{size:i}=a??{};return _t(Ve.Item,{ref:o,className:r(Wl({size:i}),e),...t,children:_t(Ve.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:_t(Ol,{className:r(Gl({size:i}))})})})});Ai.displayName=Ve.Item.displayName;import{jsx as xt,jsxs as Li}from"react/jsx-runtime";var jl=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return xt("li",{className:"",children:xt(Ft,{asChild:!0,children:Li("a",{className:r(" select-none space-y-1 rounded-md px-2 py-2 leading-none no-underline outline-none transition-colors hover:bg-pink-50 hover:text-pink-500 focus:bg-pink-50 focus:text-pink-500 flex flex-nowrap space-x-2 min-h-9 ",e,!t&&"items-center px-3"),href:i,...s,children:[t&&xt("div",{className:"w-7 h-7 shrink-0 mt-1",children:xt("img",{src:t,loading:"lazy",className:"w-7 h-7 object-cover",alt:o})}),Li("div",{className:" ",children:[xt("div",{className:"text-sm font-medium text-gray-900 leading-none",children:o}),a&&xt("p",{className:"line-clamp-2 text-xs mt-1 text-gray-500",children:a})]})]})})})},Ei=jl;import{jsx as Oe,jsxs as Ql}from"react/jsx-runtime";var Ul=({data:e,alignDropdown:t})=>Oe(fo,{alignDropdown:t,children:Oe(go,{children:e.map(o=>{let a=o.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return o.hasDropdown?Ql(uo,{className:"relative",children:[Oe(bo,{children:o.title}),Oe(xo,{children:Oe("ul",{className:r("grid w-[300px] p-2 grid-cols-1",o.dropDownCompact===!0&&o.subMenu.length>6&&" w-[530px] md:grid-cols-2 ",o.dropDownCompact===!0&&o.subMenu.length>12&&" w-[800px] md:grid-cols-3 "),children:o.subMenu&&o.subMenu.map(i=>Oe(Ei,{title:i.title,href:i.url,newTab:i.newTab,icon:o.dropDownCompact===!0?i.icon:"",children:o.dropDownCompact===!0?i.description:""},i.title))})})]},o.id):Oe(uo,{className:"relative",children:Oe(Ft,{href:o.url,className:vo(),...a,children:o.title})},o.id)})})}),Fi=Ul;import{useEffect as Jl,useState as em}from"react";var ho=[.24,.25,.05,1];import{useKey as tm}from"react-use";import Bi from"next/router";import{jsx as zt,jsxs as Hi}from"react/jsx-runtime";var Xl=({className:e="",icon:t="",title:o,children:a="",href:i="",newTab:n=!1})=>{let s=n?{target:"_blank",rel:"noopener noreferrer"}:{};return zt("li",{className:"min-h-8",children:Hi("a",{className:r(" select-none py-2 flex flex-nowrap space-x-1 items-center text",e),href:i,...s,children:[t&&zt("div",{className:"w-6 h-6 shrink-0",children:zt("img",{src:t,loading:"lazy",className:"w-6 h-6 object-cover",alt:o})}),Hi("div",{className:" ",children:[zt("div",{className:"text-sm text-gray-800 line-clamp-1",children:o}),a&&zt("p",{className:"line-clamp-1 text-xs mt-0 text-gray-500",children:a})]})]})})},_i=Xl;import{motion as ql}from"framer-motion";import{jsx as it,jsxs as Yl}from"react/jsx-runtime";var Zl={hidden:{opacity:0,y:10},show:{opacity:1,y:0,transition:{duration:.25,ease:ho}},exit:{opacity:0,transition:{duration:.05}}},Kl=({data:e})=>it(Xe,{type:"single",collapsible:!0,children:e.map(t=>{let o=t.newTab?{target:"_blank",rel:"noopener noreferrer"}:{};return it(ql.div,{variants:Zl,children:t.hasDropdown?Yl(qe,{value:t.id,children:[it(Ze,{className:"py-3",children:t.title}),it(Ke,{children:it("ul",{className:r("grid gap-y-1 gap-x-2 grid-cols-2 "),children:t.subMenu&&t.subMenu.map(a=>it(_i,{title:a.title,href:a.url,newTab:a.newTab,icon:t.dropDownCompact===!0?a.icon:"",children:t.dropDownCompact===!0?a.description:""},a.title))})})]}):it("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)})}),zi=Kl;import{motion as ia,AnimatePresence as om,LazyMotion as am,domAnimation as im}from"framer-motion";import{jsx as y,jsxs as U}from"react/jsx-runtime";var rm=()=>typeof window<"u"&&window.pageYOffset!==void 0?window.pageYOffset:0,nm=({data:e,className:t})=>{let[o,a]=em(!1);tm("Escape",()=>a(!1)),Jl(()=>{if(!o)return;let s=rm();function l(){a(!1)}return document.body.style.position="fixed",document.body.style.width="100%",Bi.events.on("routeChangeComplete",l),()=>{document.body.style.position="",document.body.style.width="",window.scrollTo({top:s||0,behavior:"instant"}),Bi.events.off("routeChangeComplete",l)}},[o]);let i={visible:{opacity:1,transition:{duration:.2}},hidden:{opacity:0,transition:{duration:.2}}},n={hidden:{opacity:0},show:{opacity:1,transition:{duration:.15,staggerChildren:.05,ease:ho}},exit:{opacity:0,transition:{duration:.15}}};return U("div",{className:r(t),children:[U("button",{type:"button",className:"text-gray-800 w-10 h-10 flex items-center justify-center hover:text-gray-700 ",onClick:()=>a(!o),children:[y("span",{className:"sr-only",children:"Navigation"}),y(ia.div,{animate:o?"hidden":"visible",variants:i,children:y("svg",{className:r("block w-7 h-7",o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:y("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})})}),y(ia.div,{animate:o?"visible":"hidden",variants:i,children:y("svg",{className:r("block w-7 h-7",!o&&"hidden"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:y("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})})]}),y(am,{features:im,children:y(om,{mode:"wait",children:o&&U(ia.nav,{variants:n,initial:"hidden",animate:"show",exit:"exit",className:r(t,"fixed block w-full max-w-full z-50 px-5 bg-white left-0 right-0 bottom-0 overflow-y-auto top-[calc(var(--header-height)+1px)] pb-24 "),children:[y(zi,{data:e}),U("div",{className:"py-4 text-sm animate-fade-in duration-500 delay-300",children:[y("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700 ",children:"T\u1EA2I V\xC0 \u0110\u0102NG K\xDD"}),U("div",{className:"flex flex-nowrap",children:[y("div",{className:"flex-initial",children:y("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:y("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113855-637627235353131497.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})}),y("div",{className:"ml-3 flex-initial",children:y("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:y("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-210724113959-637627235994410679.jpg",width:130,loading:"lazy",className:"img-fluid",alt:""})})})]}),y("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1ED6 TR\u1EE2 KH\xC1CH H\xC0NG"}),U("ul",{className:"mb-2 text-sm text-gray-500",children:[U("li",{className:"mb-1",children:["Hotline :\xA0",y("a",{href:`tel:${ke.Support.Hotline}`,className:"text-gray-600",children:ke.Support.Hotline_Format})]}),U("li",{className:"mb-1",children:["Email :\xA0",y("a",{href:`mailto:${ke.Support.Email}`,className:"text-gray-600",children:ke.Support.Email})]})]}),y("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:U("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:[y("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:y("svg",{className:"h-7 w-7 text-pink-700 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:U("g",{children:[y("title",{children:"Asset 1"}),y("path",{d:`M279.4,23.7H30.8C14.5,23.7,0,38.2,0,56.3v401.8c0,16.3,14.5,30.8,30.8,30.8H76h23.8L76,449.4H34.5V96.2h243.1v152l34.5,22
|
|
121
121
|
V56.3C312,38.2,297.5,23.7,279.4,23.7z M226.8,77.1H86.1c-8.1,0-13.5-5.4-13.5-13.5c0-8.1,5.4-13.5,13.5-13.5h140.8
|
|
122
122
|
c5.4,0,10.8,5.4,10.8,13.5C237.7,71.7,232.3,77.1,226.8,77.1z`}),y("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`})]})})}),y("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),y("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),y("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),
|
|
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`})]})})}),y("div",{className:"text-xs text-gray-500 ",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),y("div",{className:"text-sm font-semibold text-gray-800",children:"\u1EE8ng d\u1EE5ng V\xED MoMo"})]})}),y("h4",{className:"mb-2 mt-5 text-sm font-semibold text-gray-700",children:"H\u1EE2P T\xC1C DOANH NGHI\u1EC6P"}),U("ul",{className:"mb-2 text-sm text-gray-500",children:[U("li",{className:"mb-1",children:["Hotline :\xA0",y("a",{className:"text-gray-600",href:`tel:${ke.Business.Phome}`,children:ke.Business.Phome_Format})]}),U("li",{className:"mb-1",children:["Email :\xA0",U("a",{href:`mailto:${ke.Business.Email}`,className:"text-gray-600",children:[" ",ke.Business.Email]})]})]}),y("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:U("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:[y("div",{className:"absolute left-1 top-1 ",children:y("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-210724114053.svg",className:"w-10",loading:"lazy",alt:""})}),y("div",{className:"text-xs text-gray-500 ",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),y("div",{className:"text-sm font-semibold text-gray-800",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})]})]})})})]})},Vi=nm;import sm from"html-react-parser";import{ArrowDownTrayIcon as lm}from"@heroicons/react/16/solid";import{useState as mm}from"react";import{jsx as be,jsxs as rt}from"react/jsx-runtime";var Oi=({className:e,dataMenu:t,serviceInfo:o,hasDownloadApp:a=!1,navigationRight:i,isSticky:n=!0,alignDropdown:s="left"})=>{let{logo:l,name:f,url:p}=o||{},[c,g]=mm(!1);return rt("div",{className:r(e,"z-40 w-full flex-none lg:z-50 ",n?"sticky top-0 ":"relative"),children:[be("div",{className:r("absolute h-full w-full bg-white shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]")}),be("nav",{className:r("wrapper grid grid-cols-1 items-center lg:border-0 [--header-height:64px] "),style:{minHeight:"var(--header-height)"},children:rt("div",{className:"relative flex items-center ",children:[rt("a",{href:"/",title:"MoMo",className:"mr-3 flex-none w-9 h-9 overflow-hidden rounded-none hover:opacity-80",children:[be("span",{className:"sr-only",children:"MoMo home page"}),be("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"})]}),o&&rt("a",{href:p,title:f,className:" relative flex flex-none space-x-1 pl-2 items-center rounded-none hover:opacity-80 after:absolute after:left-0 after:h-8 after:w-[1px] after:bg-gray-300 after:content-[''] ",children:[be("img",{src:l,className:"w-9 h-9",alt:"MoMo"}),be("div",{className:"text-sm font-semibold leading-[1.1] text-pink-500 line-clamp-2",children:f&&sm(f)})]}),be("div",{className:"relative lg:ml-2 xl:ml-4 hidden lg:flex items-center ",children:be(Fi,{data:t,alignDropdown:s})}),rt("div",{className:"ml-auto flex space-x-3 flex-nowrap items-center",children:[i&&i,a&&rt("div",{className:" hidden sm:flex",children:[rt(ne,{variant:"primary",size:"sm",className:"tracking-cta-header",onClick:()=>g(!0),children:[" ",be(lm,{className:"mr-1 w-4 h-4"})," T\u1EA3i V\xED MoMo"]}),be(Je,{open:c,onOpenChange:()=>g(!1),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i V\xED MoMo",shortTitle:"T\u1EA3i ngay",qrLink:"http://momo.vn/download"})]}),be(Vi,{data:t,className:"lg:hidden "})]})]})})]})};Oi.displayName="HeaderNavigation";import{useState as cm}from"react";import{Fragment as pm,jsx as d,jsxs as w}from"react/jsx-runtime";var Wi=({item:e})=>d("div",{className:"mt-3 flex w-full text-sm",children:w("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&&d("span",{className:"relative flex-none h-5 w-5 md:h-6 md:w-6",children:d("img",{src:e.icon,className:"absolute inset-0"})}),d("span",{className:"block ",children:e.title})]})}),dm=({primaryMenu:e,secondaryMenu:t})=>{let[o,a]=cm(null);return w(pm,{children:[d("div",{className:"footer-main order-2 py-7 text-white md:order-1 text-sm",children:w("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:[w("div",{className:"block grow md:w-44 md:shrink-0 md:border-none md:pb-0",children:[d("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:e?.heading}),e?.lists?.map((i,n)=>d(Wi,{item:i},n))]}),w("div",{className:" md:order-none md:w-40 md:flex-none md:shrink-0 md:border-none md:pb-0",children:[d("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:t?.heading}),d("div",{className:"flex flex-wrap",children:t?.lists?.map((i,n)=>d(Wi,{item:i},n))})]}),w("div",{className:"col-span-2 grow border-t border-gray-700 pt-5 sm:col-span-1 md:border-none md:pt-0",children:[w("div",{className:"border-b border-gray-700 pb-5 md:border-0 md:pb-0",children:[d("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"Ch\u0103m s\xF3c kh\xE1ch h\xE0ng"}),w("div",{className:"mt-2 text-sm md:mt-3",children:[d("span",{className:"text-white text-opacity-50",children:"\u0110\u1ECBa ch\u1EC9 : "}),d("span",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",children:Sa.Address})]}),w("div",{className:"mt-1 text-sm",children:[d("span",{className:"text-white text-opacity-50",children:"Hotline : "}),d("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${$.Support.Hotline}`,children:$.Support.Hotline_Format}),w("small",{className:"text-xs italic text-white text-opacity-60",children:[" ","(Ph\xED 1.000\u0111/ph\xFAt)"]})]}),w("div",{className:"mt-1 text-sm",children:[d("span",{className:"text-white text-opacity-50",children:"Email : "}),d("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${$.Support.Email}`,children:$.Support.Email})]}),w("div",{className:"mt-1 text-sm",children:[w("span",{className:"text-white text-opacity-50",children:["T\u1ED5ng \u0111\xE0i g\u1ECDi ra :"," "]}),d("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${$.Support.Phone_Ext_1}`,children:$.Support.Phone_Ext_1_Format}),d("span",{className:"text-white text-opacity-60",children:" - "}),d("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${$.Support.Phone_Ext_2}`,children:$.Support.Phone_Ext_2_Format}),d("span",{className:"text-white text-opacity-60",children:" - "}),d("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${$.Support.Phone_Ext_3}`,children:$.Support.Phone_Ext_3_Format}),d("span",{className:"text-white text-opacity-60",children:", c\xE1c \u0111\u1EA7u s\u1ED1 di \u0111\u1ED9ng Brandname MoMo"})]}),d("div",{className:"mt-3 flex",children:d("a",{href:"https://www.momo.vn/huong-dan/huong-dan-gui-yeu-cau-ho-tro-bang-tinh-nang-tro-giup",rel:"noreferrer",target:"_blank",children:w("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-10 pr-2",children:[d("div",{className:"absolute left-1 top-1 ",style:{paddingTop:"3px"},children:d("svg",{className:"h-7 w-7 text-gray-100 ",fill:"currentColor",stroke:"currentColor",viewBox:"0 0 345.1 512",children:w("g",{children:[d("title",{children:"Asset 1"}),d("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`}),d("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`})]})})}),c("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),c("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),w("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[c("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),w("div",{className:"mt-2 text-sm md:mt-3",children:[c("span",{className:"text-white text-opacity-50",children:"Hotline : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${$.Business.Phome}`,children:$.Business.Phome_Format})]}),w("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Email : "}),c("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${$.Business.Email}`,children:$.Business.Email})]}),w("div",{className:"mt-1 text-sm",children:[c("span",{className:"text-white text-opacity-50",children:"Website : "}),c("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"})]}),c("div",{className:"mt-3 flex",children:c("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:w("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[c("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:w("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[c("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"}),c("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"}),c("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"}),c("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"}),c("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"}),c("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"}),c("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"}),c("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"}),c("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"})]})}),c("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),c("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),w("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:[w("div",{className:"h-auto",children:[c("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"}),c("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:c("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:Nt&&Nt.map((i,n)=>c("li",{className:"inline-block",children:c("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:c("img",{src:i.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),w("div",{className:"h-auto",children:[c("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"}),w("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[c("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:c("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),c("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:So&&So.map((i,n)=>w("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${i.Image}) center center / contain no-repeat`},children:[c(ne,{onClick:()=>a(n),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:i.Name}),c("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),c(Ke,{open:o===n,onOpenChange:()=>a(null),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng",shortTitle:"T\u1EA3i ngay",qrLink:i.Link})]},n))}),c("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:c("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:Nt&&Nt.map((i,n)=>c("li",{children:c("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:c("img",{alt:i.Name,src:i.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),w("div",{className:"h-auto",children:[c("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"}),w("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[w("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),c("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:c("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),c("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:w("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[w("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[c("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),w("div",{className:"shrink pl-3",children:[c("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"}),c("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"})]})]}),c("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"}),w("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()]})]})}),c("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`})]})})}),d("div",{className:"text-xs text-white text-opacity-70",children:"H\u01B0\u1EDBng d\u1EABn tr\u1EE3 gi\xFAp tr\xEAn"}),d("div",{className:"text-xs font-bold uppercase text-white text-opacity-90",children:"\u1EE8ng d\u1EE5ng MoMo"})]})})})]}),w("div",{className:"mt-4 border-b border-gray-700 pb-5 md:mt-8 md:border-none md:pb-0",children:[d("div",{className:"whitespace-nowrap text-xs font-bold uppercase text-white text-opacity-80",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),w("div",{className:"mt-2 text-sm md:mt-3",children:[d("span",{className:"text-white text-opacity-50",children:"Hotline : "}),d("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`tel:${$.Business.Phome}`,children:$.Business.Phome_Format})]}),w("div",{className:"mt-1 text-sm",children:[d("span",{className:"text-white text-opacity-50",children:"Email : "}),d("a",{className:"inline text-white text-opacity-70 duration-300 hover:text-opacity-100",href:`mailto:${$.Business.Email}`,children:$.Business.Email})]}),w("div",{className:"mt-1 text-sm",children:[d("span",{className:"text-white text-opacity-50",children:"Website : "}),d("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"})]}),d("div",{className:"mt-3 flex",children:d("a",{href:"https://business.momo.vn/#menutop",rel:"noreferrer",target:"_blank",children:w("div",{className:"relative block overflow-hidden rounded border border-gray-400 bg-black py-1 pl-12 pr-2 ",children:[d("div",{className:"absolute left-1 top-1 flex aspect-1 items-center justify-center",children:w("svg",{width:"30",height:"20",viewBox:"0 0 30 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-2",children:[d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"})]})}),d("div",{className:"text-xs text-white text-opacity-70",children:"H\u1EE3p t\xE1c doanh nghi\u1EC7p"}),d("div",{className:"text-xs font-semibold uppercase text-white text-opacity-90",children:"\u0110\u0103ng k\xFD h\u1EE3p t\xE1c"})]})})})]})]}),w("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:[w("div",{className:"h-auto",children:[d("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"}),d("div",{className:"mt-3 hidden flex-row items-stretch md:flex",children:d("ul",{className:"item-center flex list-none flex-wrap space-x-4",children:Nt&&Nt.map((i,n)=>d("li",{className:"inline-block",children:d("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"duration-300 hover:brightness-125",children:d("img",{src:i.Image,loading:"lazy",width:"40",height:"40"})})},n))})})]}),w("div",{className:"h-auto",children:[d("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"}),w("div",{className:"flex items-center flex-wrap md:mt-3 md:space-x-1.5",children:[d("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:d("img",{src:"https://homepage.momocdn.net/img/momo-upload-api-230627140125-638234712853800898.jpg",alt:"Qr-Dowbnload MoMo",className:" absolute inset-0"})}),d("div",{className:"flex grow justify-center gap-2 md:grid md:grid-cols-1 md:gap-1.5",children:Do&&Do.map((i,n)=>w("div",{className:"w-full md:flex md:items-center button-download",style:{background:`url(${i.Image}) center center / contain no-repeat`},children:[d(ne,{onClick:()=>a(n),className:"!bg-transparent rounded-none w-full hidden sm:block",style:{fontSize:"0px",padding:"0 0 30.23%0"},children:i.Name}),d("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"button-download block sm:hidden",style:{fontSize:"0px",padding:"0 0 30.23%0"}}),d(Je,{open:o===n,onOpenChange:()=>a(null),title:"Qu\xE9t m\xE3 \u0111\u1EC3 t\u1EA3i \u1EE9ng d\u1EE5ng",shortTitle:"T\u1EA3i ngay",qrLink:i.Link})]},n))}),d("div",{className:"mt-4 flex w-full justify-center text-center md:hidden",children:d("ul",{className:"item-center flex list-none flex-wrap space-x-3.5",children:Nt&&Nt.map((i,n)=>d("li",{children:d("a",{href:i.Link,target:"_blank",rel:"noreferrer",className:"flex duration-300 hover:brightness-125",children:d("img",{alt:i.Name,src:i.Image,loading:"lazy",width:"36",height:"36"})})},n))})})]})]}),w("div",{className:"h-auto",children:[d("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"}),w("div",{className:"mt-6 flex items-center justify-between md:mt-3 md:justify-normal",children:[w("span",{className:"block text-right text-xs text-white text-opacity-50 md:hidden",children:["\xA9Copyright M_Service ",new Date().getFullYear()]}),d("a",{rel:"noopener noreferrer",href:"http://online.gov.vn/Home/AppDetails/163",target:"_blank",className:" flex w-28 items-center md:w-auto",children:d("img",{alt:"ch\u1EE9ng nh\u1EADn",src:"https://homepage.momocdn.net/blogscontents/momo-upload-api-210629153623-637605777831780706.png",width:119,height:45})})]})]})]})]})}),d("div",{className:" footer-bottom order-1 bg-gray-800 py-3.5 md:order-2 md:py-5",children:w("div",{className:"wrapper flex flex-wrap items-end justify-between md:flex-nowrap md:space-x-3",children:[w("div",{className:"mb-2.5 flex justify-between md:mb-0",children:[d("img",{src:"https://homepage.momocdn.net/fileuploads/svg/momo-file-240411162904.svg",className:"w-9 h-9",alt:"MoMo"}),w("div",{className:"shrink pl-3",children:[d("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"}),d("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"})]})]}),d("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"}),w("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()]})]})}),d("style",{children:`
|
|
129
129
|
footer .button-download {
|
|
130
130
|
max-width: 150px;
|
|
131
131
|
}
|
|
132
|
-
`})]})},
|
|
132
|
+
`})]})},Gi=dm;import{jsx as $i}from"react/jsx-runtime";var fm=({className:e,primaryMenu:t,secondaryMenu:o})=>$i("footer",{className:r("grid grid-cols-1 flex-wrap bg-gray-900",e),children:$i(Gi,{primaryMenu:t,secondaryMenu:o})});import*as nt from"react";import{jsx as ht}from"react/jsx-runtime";var ji=nt.forwardRef(({className:e,...t},o)=>ht("div",{ref:o,className:r("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ji.displayName="Card";var Ui=nt.forwardRef(({className:e,...t},o)=>ht("div",{ref:o,className:r("flex flex-col space-y-1.5 p-6",e),...t}));Ui.displayName="CardHeader";var Qi=nt.forwardRef(({className:e,...t},o)=>ht("h3",{ref:o,className:r("font-semibold leading-none tracking-tight",e),...t}));Qi.displayName="CardTitle";var Xi=nt.forwardRef(({className:e,...t},o)=>ht("p",{ref:o,className:r("text-sm text-muted-foreground",e),...t}));Xi.displayName="CardDescription";var qi=nt.forwardRef(({className:e,...t},o)=>ht("div",{ref:o,className:r("p-6 pt-0",e),...t}));qi.displayName="CardContent";var Zi=nt.forwardRef(({className:e,...t},o)=>ht("div",{ref:o,className:r("flex items-center p-6 pt-0",e),...t}));Zi.displayName="CardFooter";import*as ce from"react";import{Command as X}from"cmdk";import{XCircleIcon as gm,MagnifyingGlassIcon as um}from"@heroicons/react/16/solid";import{jsx as te,jsxs as bm}from"react/jsx-runtime";var ra=ce.forwardRef(({className:e,...t},o)=>te(X,{ref:o,className:r("flex text-gray-900 border border-gray-300 shadow-lg bg-white h-full w-full flex-col overflow-hidden rounded-md",e),...t}));ra.displayName=X.displayName;var vm=({children:e,...t})=>te(Ye,{...t,children:te(_e,{className:"overflow-hidden p-0 shadow-lg",children:te(ra,{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})})}),Ki=ce.forwardRef(({className:e,onClickClear:t,classNameInput:o,...a},i)=>{let n=ce.useRef(null),[s,l]=ce.useState(""),f=()=>{!s||s?.length<=0||(l(""),t?.(s))};return bm("div",{ref:n,className:r("flex items-center border-b px-2",e),"cmdk-input-wrapper":"",children:[te(um,{className:"mr-2 h-4 w-4 shrink-0 text-gray-500"}),te(X.Input,{ref:i,className:r("flex h-10 text-gray-900 w-full rounded-md focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",o),value:s,onValueChange:l,...a}),te(gm,{onClick:f,className:r("ml-2 transition-all cursor-pointer h-4 w-4 duration-75 shrink-0 text-gray-500",s?.length>0?"opacity-100":"opacity-0")})]})});Ki.displayName=X.Input.displayName;var Yi=ce.forwardRef(({className:e,...t},o)=>te(X.List,{ref:o,className:r("max-h-[300px] text-gray-900 overflow-y-auto overflow-x-hidden",e),...t}));Yi.displayName=X.List.displayName;var Ji=ce.forwardRef((e,t)=>te(X.Empty,{ref:t,className:"py-6 text-gray-900 text-center text-sm",...e}));Ji.displayName=X.Empty.displayName;var er=ce.forwardRef(({className:e,...t},o)=>te(X.Group,{ref:o,className:r("overflow-hidden text-gray-900 p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));er.displayName=X.Group.displayName;var tr=ce.forwardRef(({className:e,...t},o)=>te(X.Separator,{ref:o,className:r("-mx-1 text-gray-900 h-px bg-border",e),...t}));tr.displayName=X.Separator.displayName;var or=ce.forwardRef(({className:e,children:t,...o},a)=>te(X.Item,{ref:a,className:r("relative cursor-pointer text-gray-900 flex rounded-md select-none hover:bg-gray-100 aria-selected:bg-gray-100 aria-selected:text-gray-900 items-center px-2 py-1.5 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...o,children:t}));or.displayName=X.Item.displayName;var ar=({className:e,...t})=>te("span",{className:r("ml-auto text-xs text-gray-900 tracking-widest text-muted-foreground",e),...t});ar.displayName="CommandShortcut";import{ChevronDownIcon as xm}from"@heroicons/react/16/solid";import{jsx as yo,jsxs as ir}from"react/jsx-runtime";var hm=({className:e,value:t,label:o,children:a,placeholder:i,size:n})=>ir("div",{className:"relative",children:[ir(St,{className:r("focus-visible:outline-none w-72 focus-visible:ring-0 focus-visible:ring-offset-0 focus:ring-0 select-mobase-button bg-white ring-0 transition-all rounded-md border border-gray-300 data-[placeholder]:text-gray-500 p-3 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none flex items-center justify-between data-[state=open]:border-pink-500 data-[state=open]:ring-1 hover:ring-1 hover:ring-gray-400 data-[state=open]:ring-pink-500 text-gray-900 h-11 ring-inset text-sm",n===2&&"h-12 text-base",e),children:[t||a||i,yo(xm,{className:"h-4 w-4 text-gray-700 flex-none"})]}),o&&yo("span",{className:"absolute bg-white -top-2 px-1.5 left-2 text-xs text-gray-500 z-[1]",children:o})]}),ym=({children:e,className:t})=>yo(ft,{className:r("!p-0 border-none",t),children:e}),wm=({open:e,onOpenChange:t,children:o})=>yo(kt,{open:e,onOpenChange:t,children:o});import{cva as nr}from"class-variance-authority";import{forwardRef as Nm}from"react";import{InformationCircleIcon as Pm}from"@heroicons/react/24/outline";import{jsx as na,jsxs as rr}from"react/jsx-runtime";var Cm=nr("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"}}),Rm=nr("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"}}),Tm=Nm(({type:e="neutral",message:t="",withAction:o=!1,onClickAction:a,className:i,disabled:n,actionClassName:s,icon:l,...f},p)=>rr("div",{ref:p,className:r("",i,Cm({typeDiv:e,disabled:n})),...f,children:[rr("div",{className:"flex items-center space-x-2",children:[l||na(Pm,{className:r(Rm({typeIcon:e,disabled:n})),width:20,height:20}),t&&na("div",{children:t})]}),o&&na(ze,{variant:"primary",onClick:()=>a?.(),className:r("",s),isDisabled:n,children:o})]}));import{forwardRef as km,useEffect as Sm,useRef as Dm,useState as Mm}from"react";import{MagnifyingGlassIcon as Im}from"@heroicons/react/20/solid";import{XCircleIcon as Am}from"@heroicons/react/24/outline";import{jsx as yt,jsxs as sr}from"react/jsx-runtime";var Lm=km(({disabled:e,className:t,inputClassName:o,size:a,onChange:i,onFocus:n,onClickClear:s,value:l,defaultValue:f,type:p="text",...c},g)=>{let[v,S]=Mm(!1),E=Dm(null),G=F=>{F&&!v&&S(!0),!F&&v&&S(!1)},D=F=>{G(F.target.value),i?.(F)},B=F=>{G(F.target.value),n?.(F)},V=()=>{let F=E.current?.querySelector("input");F&&(s?.(F.value),F.value="",F.focus(),S(!1))};return Sm(()=>{G(f||l)},[l,f]),sr("div",{className:r(t),ref:E,children:[sr("div",{className:"relative flex items-center",children:[yt("div",{className:"absolute left-3 top-1/2 -translate-y-1/2 shrink-0 text-gray-500 duration-200 ",children:yt(Im,{className:"w-4 h-4 text-gray-500"})}),yt("input",{disabled:e,type:p,ref:g,className:r("mobase-text-input-box text-gray-900 h-10 bg-white w-full transition-all text-sm rounded-md border border-gray-300 placeholder:text-gray-500 px-9 focus:border-pink-500 disabled:bg-gray-50 disabled:border-gray-200 disabled:pointer-events-none block disabled:opacity-50",o),onChange:D,onFocus:B,value:l,defaultValue:f,...c}),v&&yt("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:V,children:yt(Am,{strokeWidth:2,width:20,height:20})})]}),yt("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*as oe from"@radix-ui/react-dialog";import nr,{useContext as Lm,useEffect as rr,useState as na}from"react";import{X as Em}from"lucide-react";import Fm from"lodash";import*as ir from"@radix-ui/react-aspect-ratio";var ce=ir.Root;import{jsx as V,jsxs as Le}from"react/jsx-runtime";var sr=nr.createContext(void 0);function lr(){let e=Lm(sr);if(!e)throw new Error("useLightboxGalleryContext must be used within a LightboxGallery");return e}var sa=({children:e,open:t,onOpenChange:o,className:a})=>V(sr.Provider,{value:{open:t,onOpenChange:o},children:V(oe.Root,{open:t,onOpenChange:o,children:V("div",{className:r("lightbox-gallery",a),children:e})})}),Hm=({children:e,src:t,alt:o,className:a,classNameImage:i,onClick:n,ratio:s=4/3})=>{let{onOpenChange:l}=lr(),d=()=>{n?.(),l&&l(!0)};return Le(oe.Trigger,{className:r("",a),onClick:d,children:[e,V(ce,{ratio:s,className:"rounded-lg cursor-pointer",children:V("img",{src:t,alt:o,className:r("w-full h-full object-cover rounded-lg",i)})})]})},mr=nr.forwardRef(({className:e,children:t,...o},a)=>{let{onOpenChange:i}=lr(),n=()=>{i&&i(!1)};return Le(oe.Portal,{children:[V(oe.Overlay,{className:"bg-black fixed inset-0 bg-black/80 z-50"}),Le(oe.Content,{ref:a,className:r("fixed z-[999] w-full h-full inset-0 grid w-full mx-auto bg-black duration-200","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",e),...o,children:[t,Le(oe.Close,{onClick:n,className:"flex transition-all z-10 text-sm items-center space-x-1 absolute left-3 top-6 md:left-6 hover:bg-white/20 text-white rounded-md px-4 py-2",children:[V(Em,{className:"h-4 w-4 mt-0.5"}),V("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]})]})]})});mr.displayName=oe.Content.displayName;var la=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:a,classNameSubHtmSideBar:i})=>{let[n,s]=na(""),[l,d]=na(),[p,f]=na(0);rr(()=>{l&&(f(l.selectedScrollSnap()+1),l.on("select",()=>{f(l.selectedScrollSnap()+1)}))},[l]);let u=b=>{let L=Fm.filter(e,(W,S)=>S===(b>0?b-1:b)),_=L.length>0?L[0]?.titleImage:"";s(_)};return rr(()=>{u(p)},[p]),Le(mr,{className:"flex py-0",children:[Le("div",{className:" flex-1 relative",children:[Le("div",{className:"flex items-center text-sm justify-center absolute top-8 md:top-10 w-full",children:[p||1," / ",e?.length]}),Le(Jt,{opts:{startIndex:t},setApi:d,className:"w-full h-full relative",children:[V(eo,{className:r("h-screen -ml-3 md:-ml-4",o?"sm:w-[calc(100vw-448px)] w-screen":"w-screen"),children:e.map((b,L)=>V(to,{className:"pl-6 md:pl-4",children:Le("div",{className:" w-full h-full relative pt-28 overflow-hidden flex flex-col",children:[V("div",{className:"flex-1 relative",children:V("img",{src:b.url,alt:"",className:"absolute h-full w-full object-contain"})}),V("div",{className:"flex-0",children:V("div",{className:"text-sm px-20 text-center text-white/80 my-4 flex items-center justify-center w-full",children:V("div",{className:"line-clamp-3",children:n})})})]})},L))}),V(oo,{className:"left-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"}),V(ao,{className:"right-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"})]})]}),o&&V("div",{className:r("hidden md:block bg-white text-gray-900 p-6 w-full max-w-md",i),children:a})]})};import*as Ve from"react";import*as Oe from"@radix-ui/react-radio-group";import{Circle as _m}from"lucide-react";import*as Bt from"@radix-ui/react-checkbox";import{CheckIcon as zm}from"@heroicons/react/16/solid";import{jsx as Ne,jsxs as gr}from"react/jsx-runtime";var cr=Ve.createContext({hideIndicator:!1});function Bm(){let e=Ve.useContext(cr);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var dr=Ve.forwardRef(({className:e,hideIndicator:t=!1,...o},a)=>Ne(cr.Provider,{value:{hideIndicator:t},children:Ne(Oe.Root,{className:r("grid gap-2",t&&"hide-indicator",e),...o,ref:a})}));dr.displayName=Oe.Root.displayName;var pr=Ve.forwardRef(({className:e,children:t,...o},a)=>{let i=Bm(),{hideIndicator:n}=i??{};return gr(Oe.Item,{ref:a,className:r("cursor-pointer relative block border border-gray-300 text-gray-900 p-3 md:px-4 md:py-3 rounded-md bg-white w-full hover:border-pink-500 disabled:bg-gray-100 disabled:border-gray-300 disabled:pointer-events-none disabled:cursor-default data-[state=checked]:border-pink-500 ring-inset ring-pink-500 data-[state=checked]:ring-[1px] group flex items-center space-x-2 text-left",e),...o,children:[Ne("div",{className:"flex-1 min-w-0",children:t}),!n&&Ne("div",{className:r("flex-none aspect-square h-4 w-4 rounded-full border-2 border-gray-300 group-disabled:bg-gray-200 group-disabled:data-[state=checked]:text-gray-300 group-data-[state=checked]:text-white group-disabled:data-[state=checked]:bg-gray-100 group-data-[state=checked]:bg-pink-500 group-data-[state=checked]:border-none group-disabled:cursor-default has"),children:Ne(Oe.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:Ne(_m,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});pr.displayName=Oe.Item.displayName;var fr=Ve.forwardRef(({className:e,children:t,...o},a)=>gr(Bt.Root,{ref:a,className:r("cursor-pointer relative block border border-gray-300 text-gray-900 p-3 md:px-4 md:py-3 rounded-md bg-white w-full hover:border-pink-500 disabled:bg-gray-100 disabled:border-gray-300 disabled:pointer-events-none disabled:cursor-default data-[state=checked]:border-pink-500 ring-inset ring-pink-500 data-[state=checked]:ring-[1px] group flex items-center space-x-2 text-left",e),...o,children:[Ne("div",{className:"flex-1 min-w-0",children:t}),Ne("div",{className:"h-4 w-4 shrink-0 rounded border-2 group-disabled:bg-gray-300 border-gray-300 ring-offset-background group-disabled:cursor-default group-disabled:bg-gray-100 group-data-[state=checked]:border-none group-disabled:data-[state=checked]:bg-gray-400 group-disabled:data-[state=checked]:text-gray-100 group-data-[state=checked]:bg-pink-500 group-data-[state=checked]:text-white",children:Ne(Bt.Indicator,{className:r("flex items-center justify-center text-current"),children:Ne(zm,{className:"h-4 w-4"})})})]}));fr.displayName=Bt.Root.displayName;import{cva as Vm}from"class-variance-authority";import{jsx as Gm}from"react/jsx-runtime";var ur=Vm("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 Om({className:e,variant:t,...o}){return Gm("div",{className:r(ur({variant:t}),e),...o})}import*as br from"react";import*as Vt from"@radix-ui/react-progress";import{cva as xr}from"class-variance-authority";import{jsx as vr}from"react/jsx-runtime";var Wm=xr("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"}}),$m=xr("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"}}),hr=br.forwardRef(({className:e,value:t,variant:o="progress",size:a="medium",disabled:i=!1,...n},s)=>vr(Vt.Root,{ref:s,className:r("",$m({size:a}),e),...n,children:vr(Vt.Indicator,{className:r("",Wm({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));hr.displayName=Vt.Root.displayName;import*as yr from"react";import*as Pe from"@radix-ui/react-slider";import{jsx as ho,jsxs as jm}from"react/jsx-runtime";var wr=yr.forwardRef(({className:e,...t},o)=>jm(Pe.Root,{ref:o,className:r("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[ho(Pe.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:ho(Pe.Range,{className:"absolute h-full bg-pink-500"})}),ho(Pe.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"}),ho(Pe.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"})]}));wr.displayName=Pe.Root.displayName;import{forwardRef as nc}from"react";import{Fragment as qm,jsx as de,jsxs as yo}from"react/jsx-runtime";var Qm=({author:e=""})=>de("div",{className:"text-center shrink-0 text-lg font-semibold text-pink-600",children:e?.charAt(0)}),Um=({author:e,avatar:t})=>de("div",{className:"w-9 h-9 flex items-center mt-0.5 justify-center rounded-full bg-pink-200 relative overflow-hidden",children:t?de("img",{src:t,alt:e?.charAt(0),className:"shrink-0 object-cover",width:36,height:36}):de(Qm,{author:e})});function Xm({avatar:e="",author:t="",time:o,statusMessage:a,isOutStanding:i}){return de(qm,{children:yo("div",{className:"flex relative items-center space-x-3",children:[de(Um,{avatar:e,author:t}),yo("div",{className:"flex flex-col",children:[t&&de("div",{className:"font-semibold text-gray-900 text-sm",children:t}),yo("div",{className:"flex items-center space-x-2 text-xs",children:[o&&de("div",{className:"text-gray-400",children:o}),a&&yo("div",{className:"flex items-center space-x-2",children:[de("div",{className:"w-1 h-1 mt-0.5 bg-gray-400 rounded-full"}),de("div",{className:"ml-2 text-pink-500",children:a})]})]})]}),i&&de("div",{className:"absolute right-1 top-0",children:de("img",{alt:"",src:"https://homepage.momocdn.net/img/momo-upload-api-230629163313-638236531936463134.png",className:"w-5",loading:"lazy"})})]})})}var Nr=Xm;import{useState as kr}from"react";import{StarIcon as Zm}from"@heroicons/react/20/solid";import{jsx as Pr,jsxs as Cr}from"react/jsx-runtime";var Km={1:"K\xE9n ng\u01B0\u1EDDi m\xEA",2:"K\xE9n ng\u01B0\u1EDDi m\xEA",3:"Ch\u01B0a \u01B0ng l\u1EAFm",4:"Ch\u01B0a \u01B0ng l\u1EAFm",5:"T\u1EA1m \u1ED5n",6:"T\u1EA1m \u1ED5n",7:"\u0110\xE1ng xem",8:"\u0110\xE1ng xem",9:"C\u1EF1c ph\u1EA9m!",10:"C\u1EF1c ph\u1EA9m!"},Ym={1:"Kh\xF4ng h\xE0i l\xF2ng",2:"Ch\u01B0a \u01B0ng l\u1EAFm",3:"T\u1EA1m \u1ED5n",4:"H\xE0i l\xF2ng",5:"R\u1EA5t h\xE0i l\xF2ng"};function Jm({point:e,max:t,className:o}){let a=t>5?Km[e||10]:Ym[e||5];return Cr("div",{className:r("flex items-center space-x-1",o),children:[Pr(Zm,{className:"w-5 h-5 text-yellow-500"}),Pr("div",{className:"font-semibold text-gray-900 text-sm",children:`${e}/${t}`}),Cr("span",{className:"font-semibold text-gray-900 text-sm",children:[" ","\xA0\xB7 ",a]})," "]})}var Rr=Jm;import{useState as ec}from"react";import Tr from"html-react-parser";import{jsx as tc,jsxs as oc}from"react/jsx-runtime";var ma=({children:e,maxChar:t=260,textMore:o="...Xem th\xEAm",textLess:a="Thu g\u1ECDn",btnClass:i="text-blue-500",className:n=""})=>{let[s,l]=ec(!0),d=()=>{l(!s)},p=(f,u,b=" ")=>f.length<=u?f:f.substring(0,f.lastIndexOf(b,u));return oc("div",{className:r(n),children:[s?Tr(p(e,t)):Tr(e),e.length>t&&tc("span",{onClick:d,className:r("read-or-hide cursor-pointer text-md w-fit pl-1 hover:underline",i),children:s?o:a})]})};import{jsx as rt,jsxs as Sr}from"react/jsx-runtime";function ac({content:e,thumbnails:t=[],tags:o=[],commentSideBar:a,rating:i={point:10,max:10},limitContent:n=260}){let[s,l]=kr(0),[d,p]=kr(!1),f=u=>{p(!0),l(u)};return Sr("div",{className:"text-gray-700 mt-3 flex flex-col",children:[i.point>0&&rt(Rr,{className:"mb-0.5",point:i.point,max:i.max}),e&&rt(ma,{className:"text-sm",maxChar:n,children:e}),o?.length>0&&rt("div",{className:"w-full oveflow-x-auto flex items-center space-x-2 mt-2.5",children:o?.map(u=>rt("div",{className:"w-fit rounded-full shrink-0 bg-gray-100 text-gray-700 text-xs font-semibold py-1 px-2 text-center",children:u}))}),t?.length>0&&Sr(sa,{open:d,onOpenChange:p,className:"grid gap-2 mt-4 overflow-hidden rounded-xl md:grid-cols-4 md:gap-2 md:rounded-none grid grid-cols-2 grid-rows-1 overflow-hidden ",children:[t?.map((u,b)=>rt(ce,{onClick:()=>f(b),className:"rounded-lg cursor-pointer object-cover",ratio:4/3,children:rt("img",{src:u.url,alt:"",className:"w-full h-full rounded-lg object-cover"})},b)),rt(la,{activeSlideIndex:s,images:t?.map((u,b)=>({url:u.url,titleImage:u.titleImage,idx:b})),withSideBar:!!a,subHtmlSideBar:a})]})]})}var Dr=ac;import{jsx as rc}from"react/jsx-runtime";function ic({actions:e=[]}){return rc("div",{className:"flex items-center space-x-4 mt-4 text-gray-700",children:e})}var Mr=ic;import{jsx as wo,jsxs as lc}from"react/jsx-runtime";var sc=nc(({avatar:e,author:t,time:o,ratingPoint:a,content:i,tags:n,thumbnails:s,actions:l=[],statusMessage:d,isReply:p,children:f,commentSideBar:u,isOutStanding:b,limitContent:L=260},_)=>lc("div",{ref:_,className:r("",p?"ml-4 py-4":"py-5"),children:[wo(Nr,{avatar:e,author:t,time:o,statusMessage:d,isOutStanding:b}),wo(Dr,{content:i,thumbnails:s,tags:n,rating:a,commentSideBar:u,limitContent:L}),l&&l?.filter(Boolean)?.length>0&&wo(Mr,{actions:l.filter(Boolean)}),f&&wo("div",{className:"border-l grid grid-cols-1 divide-y divide-gray-200 ml-2 mt-3 border-l-gray-300 ",children:f})]}));import*as Ge from"react";import{cva as mc}from"class-variance-authority";import{CheckIcon as cc}from"@heroicons/react/16/solid";import{XIcon as dc}from"lucide-react";import{jsx as q,jsxs as No}from"react/jsx-runtime";var pc=mc("flex items-center shrink-0 justify-center rounded-full shrink-0",{variants:{state:{active:"bg-pink-500 text-white shadow-[0_0px_0px_3px_rgb(255,255,255),0_0px_0px_4px_rgb(var(--mobase-pink-500))]",disabled:"bg-gray-400 text-gray-200",default:"text-gray-500 bg-white shadow-[inset_0px_0px_0px_1px_rgb(var(--mobase-gray-300))]",completed:"bg-pink-500 text-white"},size:{default:"h-7 w-7 text-sm",small:"h-6 w-6 text-xs"}},defaultVariants:{state:"default",size:"default"}}),Ir=Ge.createContext("default");function fc(){let e=Ge.useContext(Ir);if(!e)throw new Error("ProgressStepsItem must be used within a ProgressSteps");return e}var gc=Ge.memo(({type:e,icon:t,stepNumber:o,size:a,isError:i,state:n})=>{let s=a==="small"?"w-3 h-3":"w-4 h-4";return i?q(dc,{className:s}):No("div",{children:[e==="iconStep"&&q("div",{className:s,children:t}),e==="numberStep"&&q("div",{children:o}),e==="default"&&(n==="completed"?q(cc,{className:s}):q("div",{children:o}))]})}),uc=({step:e,currentStep:t,onValueChangeStep:o,children:a})=>{let i=Ge.useCallback(()=>{e!==t&&o(e)},[e,t,o]);return q("div",{onClick:i,className:"flex w-full flex-col items-center justify-center gap-1 cursor-pointer",children:a})},vc=({step:e,state:t="default",size:o="default",className:a,title:i,description:n,lastStep:s,fristStep:l,icon:d,isError:p,onValueChangeStep:f,...u})=>{let b=fc();return No("div",{className:r("flex w-full flex-col items-center justify-center gap-1"),children:[No("div",{className:"flex w-full items-center justify-center gap-2",children:[q("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",l&&"opacity-0",t==="active"&&"bg-pink-300",t==="completed"&&"bg-pink-300")}),q("div",{className:r("flex h-7 w-7 items-center justify-center rounded-full",pc({state:t,size:o}),p&&"bg-red-500 text-white shadow-none",a),...u,children:q(gc,{type:b,icon:d,stepNumber:e,size:o,isError:p,state:t})}),q("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",s&&"opacity-0",t==="completed"&&"bg-pink-300")})]}),No("div",{className:"text-center w-full flex flex-col items-center mt-2 px-0.5",children:[i&&q("div",{className:"text-xs font-bold text-slate-900 ",children:i}),n&&q("div",{className:"text-xs text-gray-500 ",children:n})]})]})},bc=({children:e,className:t,type:o="numberStep",...a})=>q(Ir.Provider,{value:o,children:q("div",{className:r("flex items-start justify-between w-full",t),...a,children:e})});import*as Z from"react";import{Slot as wc}from"@radix-ui/react-slot";import{Controller as Nc,FormProvider as Pc,useFormContext as Cc}from"react-hook-form";import*as Ar from"react";import*as ca from"@radix-ui/react-label";import{cva as xc}from"class-variance-authority";import{jsx as yc}from"react/jsx-runtime";var hc=xc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Po=Ar.forwardRef(({className:e,...t},o)=>yc(ca.Root,{ref:o,className:r(hc(),e),...t}));Po.displayName=ca.Root.displayName;import{jsx as We}from"react/jsx-runtime";var Rc=Pc,Lr=Z.createContext({}),Tc=({...e})=>We(Lr.Provider,{value:{name:e.name},children:We(Nc,{...e})}),Ot=()=>{let e=Z.useContext(Lr),t=Z.useContext(Er),{getFieldState:o,formState:a}=Cc(),i=o(e.name,a);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:n}=t;return{id:n,name:e.name,formItemId:`${n}-form-item`,formDescriptionId:`${n}-form-item-description`,formMessageId:`${n}-form-item-message`,...i}},Er=Z.createContext({}),Fr=Z.forwardRef(({className:e,...t},o)=>{let a=Z.useId();return We(Er.Provider,{value:{id:a},children:We("div",{ref:o,className:r("space-y-2",e),...t})})});Fr.displayName="FormItem";var Hr=Z.forwardRef(({className:e,...t},o)=>{let{error:a,formItemId:i}=Ot();return We(Po,{ref:o,className:r(a&&"text-red-500","text-gray-700 ",e),htmlFor:i,...t})});Hr.displayName="FormLabel";var _r=Z.forwardRef(({...e},t)=>{let{error:o,formItemId:a,formDescriptionId:i,formMessageId:n}=Ot();return We(wc,{ref:t,id:a,"aria-describedby":o?`${i} ${n}`:`${i}`,"aria-invalid":!!o,...e})});_r.displayName="FormControl";var zr=Z.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:a}=Ot();return We("p",{ref:o,id:a,className:r("text-[0.8rem] text-gray-500",e),...t})});zr.displayName="FormDescription";var Br=Z.forwardRef(({className:e,children:t,...o},a)=>{let{error:i,formMessageId:n}=Ot(),s=i?String(i?.message):t;return s?We("p",{ref:a,id:n,className:r("text-xs font-medium text-red-500",e),...o,children:s}):null});Br.displayName="FormMessage";import*as Ee from"react";import*as v from"@radix-ui/react-dropdown-menu";import{ChevronRight as kc,Check as Sc}from"lucide-react";import{jsx as U,jsxs as Gt}from"react/jsx-runtime";var Dc=v.Root,Mc=v.Trigger,Ic=v.Group,Ac=v.Portal,Lc=v.Sub,Ec=v.RadioGroup,Vr=Ee.forwardRef(({className:e,inset:t,children:o,...a},i)=>Gt(v.SubTrigger,{ref:i,className:r("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...a,children:[o,U(kc,{className:"ml-auto"})]}));Vr.displayName=v.SubTrigger.displayName;var Or=Ee.forwardRef(({className:e,...t},o)=>U(v.SubContent,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-gray-900 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-0",e),...t}));Or.displayName=v.SubContent.displayName;var Gr=Ee.forwardRef(({className:e,sideOffset:t=4,...o},a)=>U(v.Portal,{children:U(v.Content,{ref:a,sideOffset:t,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white p-1 text-gray-900 shadow-small data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ",e),...o})}));Gr.displayName=v.Content.displayName;var Wr=Ee.forwardRef(({className:e,inset:t,...o},a)=>U(v.Item,{ref:a,className:r("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 ",t&&"pl-8",e),...o}));Wr.displayName=v.Item.displayName;var $r=Ee.forwardRef(({className:e,children:t,checked:o,...a},i)=>Gt(v.CheckboxItem,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 ",e),checked:o,...a,children:[Gt("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:[o===!1&&U("div",{className:"size-3.5 rounded-sm border border-gray-400 absolute inset-0"}),U(v.ItemIndicator,{children:U("div",{className:"size-3.5 rounded-sm border border-pink-500 bg-pink-500 flex items-center justify-center text-white absolute inset-0",children:U(Sc,{size:16,strokeWidth:3})})})]}),t]}));$r.displayName=v.CheckboxItem.displayName;var jr=Ee.forwardRef(({className:e,children:t,...o},a)=>Gt(v.RadioItem,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 ",e),...o,children:[Gt("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:[U("div",{className:"size-3.5 rounded-full border border-gray-400 absolute inset-0"}),U(v.ItemIndicator,{children:U("div",{className:"size-3.5 rounded-full border-4 border-pink-500 absolute inset-0"})})]}),t]}));jr.displayName=v.RadioItem.displayName;var Qr=Ee.forwardRef(({className:e,inset:t,...o},a)=>U(v.Label,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));Qr.displayName=v.Label.displayName;var Ur=Ee.forwardRef(({className:e,...t},o)=>U(v.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-gray-100",e),...t}));Ur.displayName=v.Separator.displayName;var Xr=({className:e,...t})=>U("span",{className:r("ml-auto text-xs tracking-widest opacity-60",e),...t});Xr.displayName="DropdownMenuShortcut";import{useRef as Fc,useState as Hc,useEffect as _c,useCallback as zc,createContext as Bc,useContext as da}from"react";import{ChevronLeft as Vc,ChevronRight as Oc}from"lucide-react";import{Fragment as Qc,jsx as $e,jsxs as qr}from"react/jsx-runtime";var Co=Bc(void 0),Gc=({showGradientOverlay:e=!0,gradientOverlayColor:t="255, 255, 255",className:o,children:a})=>{let i=Fc(null),[n,s]=Hc({left:!1,right:!1}),l=zc(()=>{let p=i.current;if(p){let{scrollLeft:f,scrollWidth:u,clientWidth:b}=p;s({left:f>0,right:f+b<u})}},[]);_c(()=>{let p=i.current;if(p)return l(),window.addEventListener("resize",l),p.addEventListener("scroll",l),()=>{window.removeEventListener("resize",l),p.removeEventListener("scroll",l)}},[l]);let d=p=>{let f=i.current;if(f){let u=f.clientWidth*.7*(p==="left"?-1:1);f.scrollBy({left:u,behavior:"smooth"})}};return $e(Co.Provider,{value:{scrollContainerRef:i,showArrows:n,scroll:d,gradientOverlayColor:t},children:qr("div",{className:r("relative w-full",o),children:[e&&qr(Qc,{children:[n.left&&$e("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 z-10 pointer-events-none flex items-center w-16 h-full",style:{background:`linear-gradient( to left, rgba(255, 255, 255, 0),rgb(${t}),rgb(${t}))`}}),n.right&&$e("div",{className:"absolute right-0 top-1/2 -translate-y-1/2 z-10 pointer-events-none flex items-center w-16 h-full",style:{background:`linear-gradient(to right, rgba(255, 255, 255, 0), rgb(${t}),rgb(${t}))`}})]}),a]})})},Wc=({className:e,children:t})=>{let o=da(Co);if(!o)throw new Error("HorizontalContent must be used within a HorizontalScroll");return $e("div",{ref:o.scrollContainerRef,className:r("overflow-x-auto scrollbar-hide scroll-smooth",e),role:"region","aria-label":"Scrollable content",children:t})},$c=({className:e,children:t,...o})=>{let a=da(Co);if(!a)throw new Error("HorizontalNavigation must be used within a HorizontalScroll");return a.showArrows.left?$e(fe,{className:r("pointer-events-auto rounded-full w-6 h-6 absolute left-0.5 top-1/2 -translate-y-1/2 z-10",e),onClick:()=>a.scroll("left"),"aria-label":"Scroll left",size:o.size||"sm",variant:o.variant||"secondary",...o,children:t||$e(Vc,{className:"h-4 w-4"})}):null},jc=({className:e,children:t,...o})=>{let a=da(Co);if(!a)throw new Error("HorizontalNavigation must be used within a HorizontalScroll");return a.showArrows.right?$e(fe,{className:r("pointer-events-auto rounded-full w-6 h-6 absolute right-0.5 top-1/2 -translate-y-1/2 z-10",e),onClick:()=>a.scroll("right"),"aria-label":"Scroll right",size:o.size||"sm",variant:o.variant||"secondary",...o,children:t||$e(Oc,{className:"h-4 w-4"})}):null};import{forwardRef as td}from"react";import{cva as Uc}from"class-variance-authority";import Zr from"html-react-parser";import{CheckIcon as Xc}from"lucide-react";import{Fragment as Zc,jsx as Fe,jsxs as Wt}from"react/jsx-runtime";var qc=Uc("text-gray-800 list-inside mt-6",{variants:{template:{1:"grid grid-cols-1 gap-y-3 ",2:"grid grid-cols-2 md:grid-cols-4 gap-2 w-full",3:"grid grid-cols-1 md:grid-cols-4 gap-4 md:gap-12 max-w-5xl mx-auto items-center py-8 md:py-12 text-left text-sm font-semibold space-y-1"}},defaultVariants:{template:1}}),Kr=({template:e,name:t,description:o,image:a,idx:i,value:n,suffix:s,unit:l})=>Fe(Zc,{children:(()=>{switch(e){case 1:case 3:return Wt("li",{className:"flex items-center space-x-4",children:[a?Fe("div",{className:"w-10 h-10 flex justify-center items-center shrink-0",children:Fe("img",{src:a,alt:"",className:"max-w-full"})}):Fe("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:Fe(Xc,{className:"w-4 h-4 text-pink-500"})}),t&&Fe("div",{className:"ml-2 leading-tight",children:Zr(t)})]});case 2:return Wt("div",{className:r("odd:border-0 odd:pr-4 even:pl-4 even:border-l border-gray-200 md:border-l md:odd:border-l md:odd:pr-0",i>0?"md:pl-4":"md:!border-0"),children:[n&&Wt("div",{className:"font-bold text-gray-900 line-clamp-2",children:[n,(s||l)&&Wt("span",{children:[s," ",l]})]}),o&&Fe("div",{className:"text-sm mt-1 text-gray-500 leading-tight",children:Zr(o)})]});default:return null}})()}),Ro=({dataFeatures:e,template:t=1,dataStats:o})=>Wt("ul",{className:r("",qc({template:t})),children:[(t===1||t===3)&&e?.map((a,i)=>Fe(Kr,{name:a?.name,template:t,image:a?.image,idx:i},i)),t===2&&o?.map((a,i)=>Fe(Kr,{value:a?.value,suffix:a?.suffix,unit:a?.unit,template:t,description:a?.description,idx:i},i))]});import{Fragment as Yc,jsx as K,jsxs as pa}from"react/jsx-runtime";var Yr=e=>typeof e=="string"?e?.split("/")?.map(Number)?.reduce((a,i)=>a/i):e,Kc=({src:e,ratio:t,className:o,youtubeId:a,onClickFC:i=()=>{}})=>pa(ce,{className:r(""),ratio:Yr(t),children:[K("img",{src:e,className:r("w-full h-full object-cover md:block hidden",o,e?"":"bg-gray-200"),alt:""}),a&&K("div",{className:"aspect-[16/9] realtive overflow-hidden w-full md:hidden",children:K("iframe",{title:a,src:`https://www.youtube.com/embed/${a}?controls=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full object-cover md:hidden"})}),a&&pa(Ze,{children:[K(Io,{onClick:i,children:K("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:K("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:pa("g",{fill:"none",fillRule:"evenodd",children:[K("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),K("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"})]})})})}),K(He,{hideCloseBtn:!0,className:"w-full h-full !shadow-none !bg-transparent flex items-center justify-center bg-gray-900 p-0",children:K("iframe",{width:738,height:439,title:a,src:`https://www.youtube.com/embed/${a}?autoplay=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:""})})]})]}),$t=({type:e=1,src:t,ratio:o,className:a,youtubeId:i,onClickFC:n=()=>{}})=>K(Yc,{children:i?K(Kc,{type:e,src:t,ratio:o,youtubeId:i,onClickFC:n}):K(ce,{className:r(""),ratio:Yr(o),children:K("img",{src:t,className:r("w-full h-full object-cover",a,t?"":"bg-gray-200"),alt:""})})});import fa from"html-react-parser";import{jsx as nt,jsxs as Jc}from"react/jsx-runtime";var Y=({idSection:e,className:t,background:o,children:a})=>nt("section",{id:e,className:r("block-section py-8 md:py-10 lg:py-14",t),style:{background:o},children:nt("div",{className:"wrapper relative",children:a})}),P=({align:e="center",tagline:t,title:o,description:a,tagHeading:i="h2",colorScheme:n="pink",sizeHeading:s="small",className:l})=>{let d=n==="black"?"pink":n==="pink"?"regular":"white",p=n==="pink"?"pink":n==="white"?"white":"regular",f=n==="white"?"white":"regular";return Jc(Oo,{align:e,className:l,children:[t&&nt(zo,{color:d,children:t}),o&&nt(Bo,{tagHeading:i,color:p,size:s,children:fa(o)}),a&&nt(Vo,{color:f,marginTop:s==="large"?"spacing2Xl":"spacingX",children:fa(a)})]})},R=({align:e,isFullInMobile:t=!1,buttons:o,className:a})=>o?.length===0?null:nt("div",{className:r("buttons-block mt-8 md:mt-10 flex gap-4 w-full",e==="center"&&"justify-center",e==="right"&&"justify-end",t&&"flex-wrap md:flex-nowrap",a),children:o?.slice(0,2).map((i,n)=>{let{btnName:s,...l}=i;return nt(Rt,{...l,className:r(t&&"w-full md:w-auto",i?.className),children:fa(s)},n)})});import{Fragment as ed,jsx as G,jsxs as jt}from"react/jsx-runtime";var ga=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>jt("div",{className:r("grid grid-cols-1 md:grid-cols-2 md:gap-6 gap-8 items-center"),children:[jt("div",{className:"col-span-1 ",children:[G(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"left",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:`${e?.className} mb-0 md:mb-0`}),G(Ro,{dataFeatures:o,template:a,dataStats:i}),t&&G(R,{align:"left",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})]}),G("div",{className:"col-span-1 md:pl-10",children:s||G($t,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})]}),Jr=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>jt("div",{className:r("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[G("div",{className:"col-span-1 hidden md:block",children:s||G($t,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),jt("div",{className:"col-span-1",children:[G(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"left",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:e?.className}),G(Ro,{dataFeatures:o,template:a,dataStats:i}),G("div",{className:"md:hidden mt-10",children:s||G($t,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),t&&G("div",{className:"w-full flex items-center justify-center md:justify-start",children:G(R,{align:"left",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})})]})]}),en=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>jt(ed,{children:[G(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"center",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:`${e?.className||""} mb-0 md:mb-0`}),t&&G(R,{align:"center",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center"}),G(Ro,{dataFeatures:o,template:a,dataStats:i}),s||G($t,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId,className:"rounded-lg"})]});import{Fragment as nd,jsx as st}from"react/jsx-runtime";var od=`var(
|
|
139
|
+
`})]})});import*as oe from"@radix-ui/react-dialog";import cr,{useContext as Em,useEffect as mr,useState as sa}from"react";import{X as Fm}from"lucide-react";import Hm from"lodash";import*as lr from"@radix-ui/react-aspect-ratio";var de=lr.Root;import{jsx as O,jsxs as Ee}from"react/jsx-runtime";var dr=cr.createContext(void 0);function pr(){let e=Em(dr);if(!e)throw new Error("useLightboxGalleryContext must be used within a LightboxGallery");return e}var la=({children:e,open:t,onOpenChange:o,className:a})=>O(dr.Provider,{value:{open:t,onOpenChange:o},children:O(oe.Root,{open:t,onOpenChange:o,children:O("div",{className:r("lightbox-gallery",a),children:e})})}),_m=({children:e,src:t,alt:o,className:a,classNameImage:i,onClick:n,ratio:s=4/3})=>{let{onOpenChange:l}=pr(),f=()=>{n?.(),l&&l(!0)};return Ee(oe.Trigger,{className:r("",a),onClick:f,children:[e,O(de,{ratio:s,className:"rounded-lg cursor-pointer",children:O("img",{src:t,alt:o,className:r("w-full h-full object-cover rounded-lg",i)})})]})},fr=cr.forwardRef(({className:e,children:t,...o},a)=>{let{onOpenChange:i}=pr(),n=()=>{i&&i(!1)};return Ee(oe.Portal,{children:[O(oe.Overlay,{className:"bg-black fixed inset-0 bg-black/80 z-50"}),Ee(oe.Content,{ref:a,className:r("fixed z-[999] w-full h-full inset-0 grid w-full mx-auto bg-black duration-200","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",e),...o,children:[t,Ee(oe.Close,{onClick:n,className:"flex transition-all z-10 text-sm items-center space-x-1 absolute left-3 top-6 md:left-6 hover:bg-white/20 text-white rounded-md px-4 py-2",children:[O(Fm,{className:"h-4 w-4 mt-0.5"}),O("div",{className:"",children:"\u0110\xF3ng c\u1EEDa s\u1ED5"})]})]})]})});fr.displayName=oe.Content.displayName;var ma=({images:e,activeSlideIndex:t=0,withSideBar:o,subHtmlSideBar:a,classNameSubHtmSideBar:i})=>{let[n,s]=sa(""),[l,f]=sa(),[p,c]=sa(0);mr(()=>{l&&(c(l.selectedScrollSnap()+1),l.on("select",()=>{c(l.selectedScrollSnap()+1)}))},[l]);let g=v=>{let S=Hm.filter(e,(G,D)=>D===(v>0?v-1:v)),E=S.length>0?S[0]?.titleImage:"";s(E)};return mr(()=>{g(p)},[p]),Ee(fr,{className:"flex py-0",children:[Ee("div",{className:" flex-1 relative",children:[Ee("div",{className:"flex items-center text-sm justify-center absolute top-8 md:top-10 w-full",children:[p||1," / ",e?.length]}),Ee(to,{opts:{startIndex:t},setApi:f,className:"w-full h-full relative",children:[O(oo,{className:r("h-screen -ml-3 md:-ml-4",o?"sm:w-[calc(100vw-448px)] w-screen":"w-screen"),children:e.map((v,S)=>O(ao,{className:"pl-6 md:pl-4",children:Ee("div",{className:" w-full h-full relative pt-28 overflow-hidden flex flex-col",children:[O("div",{className:"flex-1 relative",children:O("img",{src:v.url,alt:"",className:"absolute h-full w-full object-contain"})}),O("div",{className:"flex-0",children:O("div",{className:"text-sm px-20 text-center text-white/80 my-4 flex items-center justify-center w-full",children:O("div",{className:"line-clamp-3",children:n})})})]})},S))}),O(io,{className:"left-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"}),O(ro,{className:"right-10 top-[50%] w-10 h-10 sm:opacity-100 opacity-0"})]})]}),o&&O("div",{className:r("hidden md:block bg-white text-gray-900 p-6 w-full max-w-md",i),children:a})]})};import*as We from"react";import*as Ge from"@radix-ui/react-radio-group";import{Circle as zm}from"lucide-react";import*as Bt from"@radix-ui/react-checkbox";import{CheckIcon as Bm}from"@heroicons/react/16/solid";import{jsx as Ne,jsxs as xr}from"react/jsx-runtime";var gr=We.createContext({hideIndicator:!1});function Vm(){let e=We.useContext(gr);if(!e)throw new Error("ChoiceboxGroup.Item must be used within a ChoiceboxGroup ");return e}var ur=We.forwardRef(({className:e,hideIndicator:t=!1,...o},a)=>Ne(gr.Provider,{value:{hideIndicator:t},children:Ne(Ge.Root,{className:r("grid gap-2",t&&"hide-indicator",e),...o,ref:a})}));ur.displayName=Ge.Root.displayName;var vr=We.forwardRef(({className:e,children:t,...o},a)=>{let i=Vm(),{hideIndicator:n}=i??{};return xr(Ge.Item,{ref:a,className:r("cursor-pointer relative block border border-gray-300 text-gray-900 p-3 md:px-4 md:py-3 rounded-md bg-white w-full hover:border-pink-500 disabled:bg-gray-100 disabled:border-gray-300 disabled:pointer-events-none disabled:cursor-default data-[state=checked]:border-pink-500 ring-inset ring-pink-500 data-[state=checked]:ring-[1px] group flex items-center space-x-2 text-left",e),...o,children:[Ne("div",{className:"flex-1 min-w-0",children:t}),!n&&Ne("div",{className:r("flex-none aspect-square h-4 w-4 rounded-full border-2 border-gray-300 group-disabled:bg-gray-200 group-disabled:data-[state=checked]:text-gray-300 group-data-[state=checked]:text-white group-disabled:data-[state=checked]:bg-gray-100 group-data-[state=checked]:bg-pink-500 group-data-[state=checked]:border-none group-disabled:cursor-default has"),children:Ne(Ge.Indicator,{className:"flex items-center justify-center w-full h-full rounded-full ",children:Ne(zm,{className:"h-1.5 w-1.5 fill-current text-current"})})})]})});vr.displayName=Ge.Item.displayName;var br=We.forwardRef(({className:e,children:t,...o},a)=>xr(Bt.Root,{ref:a,className:r("cursor-pointer relative block border border-gray-300 text-gray-900 p-3 md:px-4 md:py-3 rounded-md bg-white w-full hover:border-pink-500 disabled:bg-gray-100 disabled:border-gray-300 disabled:pointer-events-none disabled:cursor-default data-[state=checked]:border-pink-500 ring-inset ring-pink-500 data-[state=checked]:ring-[1px] group flex items-center space-x-2 text-left",e),...o,children:[Ne("div",{className:"flex-1 min-w-0",children:t}),Ne("div",{className:"h-4 w-4 shrink-0 rounded border-2 group-disabled:bg-gray-300 border-gray-300 ring-offset-background group-disabled:cursor-default group-disabled:bg-gray-100 group-data-[state=checked]:border-none group-disabled:data-[state=checked]:bg-gray-400 group-disabled:data-[state=checked]:text-gray-100 group-data-[state=checked]:bg-pink-500 group-data-[state=checked]:text-white",children:Ne(Bt.Indicator,{className:r("flex items-center justify-center text-current"),children:Ne(Bm,{className:"h-4 w-4"})})})]}));br.displayName=Bt.Root.displayName;import{cva as Om}from"class-variance-authority";import{jsx as Gm}from"react/jsx-runtime";var hr=Om("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 Wm({className:e,variant:t,...o}){return Gm("div",{className:r(hr({variant:t}),e),...o})}import*as wr from"react";import*as Vt from"@radix-ui/react-progress";import{cva as Nr}from"class-variance-authority";import{jsx as yr}from"react/jsx-runtime";var $m=Nr("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"}}),jm=Nr("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"}}),Pr=wr.forwardRef(({className:e,value:t,variant:o="progress",size:a="medium",disabled:i=!1,...n},s)=>yr(Vt.Root,{ref:s,className:r("",jm({size:a}),e),...n,children:yr(Vt.Indicator,{className:r("",$m({variant:o})),style:{transform:`translateX(-${100-(t||0)}%)`}})}));Pr.displayName=Vt.Root.displayName;import*as Cr from"react";import*as Pe from"@radix-ui/react-slider";import{jsx as wo,jsxs as Um}from"react/jsx-runtime";var Rr=Cr.forwardRef(({className:e,...t},o)=>Um(Pe.Root,{ref:o,className:r("relative flex w-full touch-none select-none items-center",t?.disabled&&"opacity-40",e),...t,children:[wo(Pe.Track,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200",children:wo(Pe.Range,{className:"absolute h-full bg-pink-500"})}),wo(Pe.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"}),wo(Pe.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"})]}));Rr.displayName=Pe.Root.displayName;import{forwardRef as sc}from"react";import{Fragment as Zm,jsx as pe,jsxs as No}from"react/jsx-runtime";var Qm=({author:e=""})=>pe("div",{className:"text-center shrink-0 text-lg font-semibold text-pink-600",children:e?.charAt(0)}),Xm=({author:e,avatar:t})=>pe("div",{className:"w-9 h-9 flex items-center mt-0.5 justify-center rounded-full bg-pink-200 relative overflow-hidden",children:t?pe("img",{src:t,alt:e?.charAt(0),className:"shrink-0 object-cover",width:36,height:36}):pe(Qm,{author:e})});function qm({avatar:e="",author:t="",time:o,statusMessage:a,isOutStanding:i}){return pe(Zm,{children:No("div",{className:"flex relative items-center space-x-3",children:[pe(Xm,{avatar:e,author:t}),No("div",{className:"flex flex-col",children:[t&&pe("div",{className:"font-semibold text-gray-900 text-sm",children:t}),No("div",{className:"flex items-center space-x-2 text-xs",children:[o&&pe("div",{className:"text-gray-400",children:o}),a&&No("div",{className:"flex items-center space-x-2",children:[pe("div",{className:"w-1 h-1 mt-0.5 bg-gray-400 rounded-full"}),pe("div",{className:"ml-2 text-pink-500",children:a})]})]})]}),i&&pe("div",{className:"absolute right-1 top-0",children:pe("img",{alt:"",src:"https://homepage.momocdn.net/img/momo-upload-api-230629163313-638236531936463134.png",className:"w-5",loading:"lazy"})})]})})}var Tr=qm;import{useState as Ir}from"react";import{StarIcon as Km}from"@heroicons/react/20/solid";import{jsx as kr,jsxs as Sr}from"react/jsx-runtime";var Ym={1:"K\xE9n ng\u01B0\u1EDDi m\xEA",2:"K\xE9n ng\u01B0\u1EDDi m\xEA",3:"Ch\u01B0a \u01B0ng l\u1EAFm",4:"Ch\u01B0a \u01B0ng l\u1EAFm",5:"T\u1EA1m \u1ED5n",6:"T\u1EA1m \u1ED5n",7:"\u0110\xE1ng xem",8:"\u0110\xE1ng xem",9:"C\u1EF1c ph\u1EA9m!",10:"C\u1EF1c ph\u1EA9m!"},Jm={1:"Kh\xF4ng h\xE0i l\xF2ng",2:"Ch\u01B0a \u01B0ng l\u1EAFm",3:"T\u1EA1m \u1ED5n",4:"H\xE0i l\xF2ng",5:"R\u1EA5t h\xE0i l\xF2ng"};function ec({point:e,max:t,className:o}){let a=t>5?Ym[e||10]:Jm[e||5];return Sr("div",{className:r("flex items-center space-x-1",o),children:[kr(Km,{className:"w-5 h-5 text-yellow-500"}),kr("div",{className:"font-semibold text-gray-900 text-sm",children:`${e}/${t}`}),Sr("span",{className:"font-semibold text-gray-900 text-sm",children:[" ","\xA0\xB7 ",a]})," "]})}var Dr=ec;import{useState as tc}from"react";import Mr from"html-react-parser";import{jsx as oc,jsxs as ac}from"react/jsx-runtime";var ca=({children:e,maxChar:t=260,textMore:o="...Xem th\xEAm",textLess:a="Thu g\u1ECDn",btnClass:i="text-blue-500",className:n=""})=>{let[s,l]=tc(!0),f=()=>{l(!s)},p=(c,g,v=" ")=>c.length<=g?c:c.substring(0,c.lastIndexOf(v,g));return ac("div",{className:r(n),children:[s?Mr(p(e,t)):Mr(e),e.length>t&&oc("span",{onClick:f,className:r("read-or-hide cursor-pointer text-md w-fit pl-1 hover:underline",i),children:s?o:a})]})};import{jsx as st,jsxs as Ar}from"react/jsx-runtime";function ic({content:e,thumbnails:t=[],tags:o=[],commentSideBar:a,rating:i={point:10,max:10},limitContent:n=260}){let[s,l]=Ir(0),[f,p]=Ir(!1),c=g=>{p(!0),l(g)};return Ar("div",{className:"text-gray-700 mt-3 flex flex-col",children:[i.point>0&&st(Dr,{className:"mb-0.5",point:i.point,max:i.max}),e&&st(ca,{className:"text-sm",maxChar:n,children:e}),o?.length>0&&st("div",{className:"w-full oveflow-x-auto flex items-center space-x-2 mt-2.5",children:o?.map(g=>st("div",{className:"w-fit rounded-full shrink-0 bg-gray-100 text-gray-700 text-xs font-semibold py-1 px-2 text-center",children:g}))}),t?.length>0&&Ar(la,{open:f,onOpenChange:p,className:"grid gap-2 mt-4 overflow-hidden rounded-xl md:grid-cols-4 md:gap-2 md:rounded-none grid grid-cols-2 grid-rows-1 overflow-hidden ",children:[t?.map((g,v)=>st(de,{onClick:()=>c(v),className:"rounded-lg cursor-pointer object-cover",ratio:4/3,children:st("img",{src:g.url,alt:"",className:"w-full h-full rounded-lg object-cover"})},v)),st(ma,{activeSlideIndex:s,images:t?.map((g,v)=>({url:g.url,titleImage:g.titleImage,idx:v})),withSideBar:!!a,subHtmlSideBar:a})]})]})}var Lr=ic;import{jsx as nc}from"react/jsx-runtime";function rc({actions:e=[]}){return nc("div",{className:"flex items-center space-x-4 mt-4 text-gray-700",children:e})}var Er=rc;import{jsx as Po,jsxs as mc}from"react/jsx-runtime";var lc=sc(({avatar:e,author:t,time:o,ratingPoint:a,content:i,tags:n,thumbnails:s,actions:l=[],statusMessage:f,isReply:p,children:c,commentSideBar:g,isOutStanding:v,limitContent:S=260},E)=>mc("div",{ref:E,className:r("",p?"ml-4 py-4":"py-5"),children:[Po(Tr,{avatar:e,author:t,time:o,statusMessage:f,isOutStanding:v}),Po(Lr,{content:i,thumbnails:s,tags:n,rating:a,commentSideBar:g,limitContent:S}),l&&l?.filter(Boolean)?.length>0&&Po(Er,{actions:l.filter(Boolean)}),c&&Po("div",{className:"border-l grid grid-cols-1 divide-y divide-gray-200 ml-2 mt-3 border-l-gray-300 ",children:c})]}));import*as $e from"react";import{cva as cc}from"class-variance-authority";import{CheckIcon as dc}from"@heroicons/react/16/solid";import{XIcon as pc}from"lucide-react";import{jsx as q,jsxs as Co}from"react/jsx-runtime";var fc=cc("flex items-center shrink-0 justify-center rounded-full shrink-0",{variants:{state:{active:"bg-pink-500 text-white shadow-[0_0px_0px_3px_rgb(255,255,255),0_0px_0px_4px_rgb(var(--mobase-pink-500))]",disabled:"bg-gray-400 text-gray-200",default:"text-gray-500 bg-white shadow-[inset_0px_0px_0px_1px_rgb(var(--mobase-gray-300))]",completed:"bg-pink-500 text-white"},size:{default:"h-7 w-7 text-sm",small:"h-6 w-6 text-xs"}},defaultVariants:{state:"default",size:"default"}}),Fr=$e.createContext("default");function gc(){let e=$e.useContext(Fr);if(!e)throw new Error("ProgressStepsItem must be used within a ProgressSteps");return e}var uc=$e.memo(({type:e,icon:t,stepNumber:o,size:a,isError:i,state:n})=>{let s=a==="small"?"w-3 h-3":"w-4 h-4";return i?q(pc,{className:s}):Co("div",{children:[e==="iconStep"&&q("div",{className:s,children:t}),e==="numberStep"&&q("div",{children:o}),e==="default"&&(n==="completed"?q(dc,{className:s}):q("div",{children:o}))]})}),vc=({step:e,currentStep:t,onValueChangeStep:o,children:a})=>{let i=$e.useCallback(()=>{e!==t&&o(e)},[e,t,o]);return q("div",{onClick:i,className:"flex w-full flex-col items-center justify-center gap-1 cursor-pointer",children:a})},bc=({step:e,state:t="default",size:o="default",className:a,title:i,description:n,lastStep:s,fristStep:l,icon:f,isError:p,onValueChangeStep:c,...g})=>{let v=gc();return Co("div",{className:r("flex w-full flex-col items-center justify-center gap-1"),children:[Co("div",{className:"flex w-full items-center justify-center gap-2",children:[q("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",l&&"opacity-0",t==="active"&&"bg-pink-300",t==="completed"&&"bg-pink-300")}),q("div",{className:r("flex h-7 w-7 items-center justify-center rounded-full",fc({state:t,size:o}),p&&"bg-red-500 text-white shadow-none",a),...g,children:q(uc,{type:v,icon:f,stepNumber:e,size:o,isError:p,state:t})}),q("div",{className:r("flex h-px grow shrink-0 basis-0 bg-gray-200",s&&"opacity-0",t==="completed"&&"bg-pink-300")})]}),Co("div",{className:"text-center w-full flex flex-col items-center mt-2 px-0.5",children:[i&&q("div",{className:"text-xs font-bold text-slate-900 ",children:i}),n&&q("div",{className:"text-xs text-gray-500 ",children:n})]})]})},xc=({children:e,className:t,type:o="numberStep",...a})=>q(Fr.Provider,{value:o,children:q("div",{className:r("flex items-start justify-between w-full",t),...a,children:e})});import*as Z from"react";import{Slot as Nc}from"@radix-ui/react-slot";import{Controller as Pc,FormProvider as Cc,useFormContext as Rc}from"react-hook-form";import*as Hr from"react";import*as da from"@radix-ui/react-label";import{cva as hc}from"class-variance-authority";import{jsx as wc}from"react/jsx-runtime";var yc=hc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Ro=Hr.forwardRef(({className:e,...t},o)=>wc(da.Root,{ref:o,className:r(yc(),e),...t}));Ro.displayName=da.Root.displayName;import{jsx as je}from"react/jsx-runtime";var Tc=Cc,_r=Z.createContext({}),kc=({...e})=>je(_r.Provider,{value:{name:e.name},children:je(Pc,{...e})}),Ot=()=>{let e=Z.useContext(_r),t=Z.useContext(zr),{getFieldState:o,formState:a}=Rc(),i=o(e.name,a);if(!e)throw new Error("useFormField should be used within <FormField>");let{id:n}=t;return{id:n,name:e.name,formItemId:`${n}-form-item`,formDescriptionId:`${n}-form-item-description`,formMessageId:`${n}-form-item-message`,...i}},zr=Z.createContext({}),Br=Z.forwardRef(({className:e,...t},o)=>{let a=Z.useId();return je(zr.Provider,{value:{id:a},children:je("div",{ref:o,className:r("space-y-2",e),...t})})});Br.displayName="FormItem";var Vr=Z.forwardRef(({className:e,...t},o)=>{let{error:a,formItemId:i}=Ot();return je(Ro,{ref:o,className:r(a&&"text-red-500","text-gray-700 ",e),htmlFor:i,...t})});Vr.displayName="FormLabel";var Or=Z.forwardRef(({...e},t)=>{let{error:o,formItemId:a,formDescriptionId:i,formMessageId:n}=Ot();return je(Nc,{ref:t,id:a,"aria-describedby":o?`${i} ${n}`:`${i}`,"aria-invalid":!!o,...e})});Or.displayName="FormControl";var Wr=Z.forwardRef(({className:e,...t},o)=>{let{formDescriptionId:a}=Ot();return je("p",{ref:o,id:a,className:r("text-[0.8rem] text-gray-500",e),...t})});Wr.displayName="FormDescription";var Gr=Z.forwardRef(({className:e,children:t,...o},a)=>{let{error:i,formMessageId:n}=Ot(),s=i?String(i?.message):t;return s?je("p",{ref:a,id:n,className:r("text-xs font-medium text-red-500",e),...o,children:s}):null});Gr.displayName="FormMessage";import*as Fe from"react";import*as b from"@radix-ui/react-dropdown-menu";import{ChevronRight as Sc,Check as Dc}from"lucide-react";import{jsx as Q,jsxs as Wt}from"react/jsx-runtime";var Mc=b.Root,Ic=b.Trigger,Ac=b.Group,Lc=b.Portal,Ec=b.Sub,Fc=b.RadioGroup,$r=Fe.forwardRef(({className:e,inset:t,children:o,...a},i)=>Wt(b.SubTrigger,{ref:i,className:r("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",t&&"pl-8",e),...a,children:[o,Q(Sc,{className:"ml-auto"})]}));$r.displayName=b.SubTrigger.displayName;var jr=Fe.forwardRef(({className:e,...t},o)=>Q(b.SubContent,{ref:o,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-gray-900 shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-0",e),...t}));jr.displayName=b.SubContent.displayName;var Ur=Fe.forwardRef(({className:e,sideOffset:t=4,...o},a)=>Q(b.Portal,{children:Q(b.Content,{ref:a,sideOffset:t,className:r("z-50 min-w-[8rem] overflow-hidden rounded-md border border-gray-300 bg-white p-1 text-gray-900 shadow-small data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ",e),...o})}));Ur.displayName=b.Content.displayName;var Qr=Fe.forwardRef(({className:e,inset:t,...o},a)=>Q(b.Item,{ref:a,className:r("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 ",t&&"pl-8",e),...o}));Qr.displayName=b.Item.displayName;var Xr=Fe.forwardRef(({className:e,children:t,checked:o,...a},i)=>Wt(b.CheckboxItem,{ref:i,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 ",e),checked:o,...a,children:[Wt("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:[o===!1&&Q("div",{className:"size-3.5 rounded-sm border border-gray-400 absolute inset-0"}),Q(b.ItemIndicator,{children:Q("div",{className:"size-3.5 rounded-sm border border-pink-500 bg-pink-500 flex items-center justify-center text-white absolute inset-0",children:Q(Dc,{size:16,strokeWidth:3})})})]}),t]}));Xr.displayName=b.CheckboxItem.displayName;var qr=Fe.forwardRef(({className:e,children:t,...o},a)=>Wt(b.RadioItem,{ref:a,className:r("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-gray-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 ",e),...o,children:[Wt("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:[Q("div",{className:"size-3.5 rounded-full border border-gray-400 absolute inset-0"}),Q(b.ItemIndicator,{children:Q("div",{className:"size-3.5 rounded-full border-4 border-pink-500 absolute inset-0"})})]}),t]}));qr.displayName=b.RadioItem.displayName;var Zr=Fe.forwardRef(({className:e,inset:t,...o},a)=>Q(b.Label,{ref:a,className:r("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...o}));Zr.displayName=b.Label.displayName;var Kr=Fe.forwardRef(({className:e,...t},o)=>Q(b.Separator,{ref:o,className:r("-mx-1 my-1 h-px bg-gray-100",e),...t}));Kr.displayName=b.Separator.displayName;var Yr=({className:e,...t})=>Q("span",{className:r("ml-auto text-xs tracking-widest opacity-60",e),...t});Yr.displayName="DropdownMenuShortcut";import{useRef as Hc,useState as _c,useEffect as zc,useCallback as Bc,createContext as Vc,useContext as pa}from"react";import{ChevronLeft as Oc,ChevronRight as Wc}from"lucide-react";import{Fragment as Gc,jsx as Ue,jsxs as Jr}from"react/jsx-runtime";var To=Vc(void 0),fa=({showGradientOverlay:e=!0,gradientOverlayColor:t="255, 255, 255",className:o,children:a})=>{let i=Hc(null),[n,s]=_c({left:!1,right:!1}),l=Bc(()=>{let p=i.current;if(p){let{scrollLeft:c,scrollWidth:g,clientWidth:v}=p;s({left:c>0,right:c+v<g})}},[]);zc(()=>{let p=i.current;if(p)return l(),window.addEventListener("resize",l),p.addEventListener("scroll",l),()=>{window.removeEventListener("resize",l),p.removeEventListener("scroll",l)}},[l]);let f=p=>{let c=i.current;if(c){let g=c.clientWidth*.7*(p==="left"?-1:1);c.scrollBy({left:g,behavior:"smooth"})}};return Ue(To.Provider,{value:{scrollContainerRef:i,showArrows:n,scroll:f,gradientOverlayColor:t},children:Jr("div",{className:r("relative w-full",o),children:[e&&Jr(Gc,{children:[n.left&&Ue("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 z-10 pointer-events-none flex items-center w-16 h-full",style:{background:`linear-gradient( to left, rgba(255, 255, 255, 0),rgb(${t}),rgb(${t}))`}}),n.right&&Ue("div",{className:"absolute right-0 top-1/2 -translate-y-1/2 z-10 pointer-events-none flex items-center w-16 h-full",style:{background:`linear-gradient(to right, rgba(255, 255, 255, 0), rgb(${t}),rgb(${t}))`}})]}),a]})})},ga=({className:e,children:t})=>{let o=pa(To);if(!o)throw new Error("HorizontalContent must be used within a HorizontalScroll");return Ue("div",{ref:o.scrollContainerRef,className:r("overflow-x-auto scrollbar-hide scroll-smooth",e),role:"region","aria-label":"Scrollable content",children:t})},ua=({className:e,children:t,...o})=>{let a=pa(To);if(!a)throw new Error("HorizontalNavigation must be used within a HorizontalScroll");return a.showArrows.left?Ue(ge,{className:r("pointer-events-auto rounded-full w-6 h-6 absolute left-0.5 top-1/2 -translate-y-1/2 z-10",e),onClick:()=>a.scroll("left"),"aria-label":"Scroll left",size:o.size||"sm",variant:o.variant||"secondary",...o,children:t||Ue(Oc,{className:"h-4 w-4"})}):null},va=({className:e,children:t,...o})=>{let a=pa(To);if(!a)throw new Error("HorizontalNavigation must be used within a HorizontalScroll");return a.showArrows.right?Ue(ge,{className:r("pointer-events-auto rounded-full w-6 h-6 absolute right-0.5 top-1/2 -translate-y-1/2 z-10",e),onClick:()=>a.scroll("right"),"aria-label":"Scroll right",size:o.size||"sm",variant:o.variant||"secondary",...o,children:t||Ue(Wc,{className:"h-4 w-4"})}):null};import{forwardRef as Yc}from"react";import{cva as $c}from"class-variance-authority";import en from"html-react-parser";import{CheckIcon as jc}from"lucide-react";import{Fragment as Qc,jsx as He,jsxs as Gt}from"react/jsx-runtime";var Uc=$c("text-gray-800 list-inside mt-6",{variants:{template:{1:"grid grid-cols-1 gap-y-3 ",2:"grid grid-cols-2 md:grid-cols-4 gap-2 w-full",3:"grid grid-cols-1 md:grid-cols-4 gap-4 md:gap-12 max-w-5xl mx-auto items-center py-8 md:py-12 text-left text-sm font-semibold space-y-1"}},defaultVariants:{template:1}}),tn=({template:e,name:t,description:o,image:a,idx:i,value:n,suffix:s,unit:l})=>He(Qc,{children:(()=>{switch(e){case 1:case 3:return Gt("li",{className:"flex items-center space-x-4",children:[a?He("div",{className:"w-10 h-10 flex justify-center items-center shrink-0",children:He("img",{src:a,alt:"",className:"max-w-full"})}):He("div",{className:"bg-pink-100 p-1 rounded-full w-5 h-5 flex items-center justify-center",children:He(jc,{className:"w-4 h-4 text-pink-500"})}),t&&He("div",{className:"ml-2 leading-tight",children:en(t)})]});case 2:return Gt("div",{className:r("odd:border-0 odd:pr-4 even:pl-4 even:border-l border-gray-200 md:border-l md:odd:border-l md:odd:pr-0",i>0?"md:pl-4":"md:!border-0"),children:[n&&Gt("div",{className:"font-bold text-gray-900 line-clamp-2",children:[n,(s||l)&&Gt("span",{children:[s," ",l]})]}),o&&He("div",{className:"text-sm mt-1 text-gray-500 leading-tight",children:en(o)})]});default:return null}})()}),ko=({dataFeatures:e,template:t=1,dataStats:o})=>Gt("ul",{className:r("",Uc({template:t})),children:[(t===1||t===3)&&e?.map((a,i)=>He(tn,{name:a?.name,template:t,image:a?.image,idx:i},i)),t===2&&o?.map((a,i)=>He(tn,{value:a?.value,suffix:a?.suffix,unit:a?.unit,template:t,description:a?.description,idx:i},i))]});import{Fragment as qc,jsx as K,jsxs as ba}from"react/jsx-runtime";var on=e=>typeof e=="string"?e?.split("/")?.map(Number)?.reduce((a,i)=>a/i):e,Xc=({src:e,ratio:t,className:o,youtubeId:a,onClickFC:i=()=>{}})=>ba(de,{className:r(""),ratio:on(t),children:[K("img",{src:e,className:r("w-full h-full object-cover md:block hidden",o,e?"":"bg-gray-200"),alt:""}),a&&K("div",{className:"aspect-[16/9] realtive overflow-hidden w-full md:hidden",children:K("iframe",{title:a,src:`https://www.youtube.com/embed/${a}?controls=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"w-full h-full object-cover md:hidden"})}),a&&ba(Ye,{children:[K(Ao,{onClick:i,children:K("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:K("svg",{className:"w-14 h-14",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",children:ba("g",{fill:"none",fillRule:"evenodd",children:[K("circle",{stroke:"#FFF",strokeWidth:2,fillOpacity:".24",fill:"#000",cx:24,cy:24,r:23}),K("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"})]})})})}),K(_e,{hideCloseBtn:!0,className:"w-full h-full !shadow-none !bg-transparent flex items-center justify-center bg-gray-900 p-0",children:K("iframe",{width:738,height:439,title:a,src:`https://www.youtube.com/embed/${a}?autoplay=1`,frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:""})})]})]}),$t=({type:e=1,src:t,ratio:o,className:a,youtubeId:i,onClickFC:n=()=>{}})=>K(qc,{children:i?K(Xc,{type:e,src:t,ratio:o,youtubeId:i,onClickFC:n}):K(de,{className:r(""),ratio:on(o),children:K("img",{src:t,className:r("w-full h-full object-cover",a,t?"":"bg-gray-200"),alt:""})})});import xa from"html-react-parser";import{jsx as lt,jsxs as Zc}from"react/jsx-runtime";var Y=({idSection:e,className:t,background:o,children:a})=>lt("section",{id:e,className:r("block-section py-8 md:py-10 lg:py-14",t),style:{background:o},children:lt("div",{className:"wrapper relative",children:a})}),P=({align:e="center",tagline:t,title:o,description:a,tagHeading:i="h2",colorScheme:n="pink",sizeHeading:s="small",className:l})=>{let f=n==="black"?"pink":n==="pink"?"regular":"white",p=n==="pink"?"pink":n==="white"?"white":"regular",c=n==="white"?"white":"regular";return Zc(Wo,{align:e,className:l,children:[t&<(Bo,{color:f,children:t}),o&<(Vo,{tagHeading:i,color:p,size:s,children:xa(o)}),a&<(Oo,{color:c,marginTop:s==="large"?"spacing2Xl":"spacingX",children:xa(a)})]})},R=({align:e,isFullInMobile:t=!1,buttons:o,className:a})=>o?.length===0?null:lt("div",{className:r("buttons-block mt-8 md:mt-10 flex gap-4 w-full",e==="center"&&"justify-center",e==="right"&&"justify-end",t&&"flex-wrap md:flex-nowrap",a),children:o?.slice(0,2).map((i,n)=>{let{btnName:s,...l}=i;return lt(Rt,{...l,className:r(t&&"w-full md:w-auto",i?.className),children:xa(s)},n)})});import{Fragment as Kc,jsx as W,jsxs as jt}from"react/jsx-runtime";var ha=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>jt("div",{className:r("grid grid-cols-1 md:grid-cols-2 md:gap-6 gap-8 items-center"),children:[jt("div",{className:"col-span-1 ",children:[W(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"left",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:`${e?.className} mb-0 md:mb-0`}),W(ko,{dataFeatures:o,template:a,dataStats:i}),t&&W(R,{align:"left",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})]}),W("div",{className:"col-span-1 md:pl-10",children:s||W($t,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})})]}),an=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>jt("div",{className:r("grid grid-cols-1 md:grid-cols-2 gap-16 items-center"),children:[W("div",{className:"col-span-1 hidden md:block",children:s||W($t,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),jt("div",{className:"col-span-1",children:[W(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"left",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:e?.className}),W(ko,{dataFeatures:o,template:a,dataStats:i}),W("div",{className:"md:hidden mt-10",children:s||W($t,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId})}),t&&W("div",{className:"w-full flex items-center justify-center md:justify-start",children:W(R,{align:"left",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons})})]})]}),rn=({dataHeading:e,dataButtons:t,dataFeatures:o,template:a,dataStats:i,dataMedia:n,advancedComponent:s})=>jt(Kc,{children:[W(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading||"h1",align:"center",sizeHeading:e?.sizeHeading,colorScheme:e?.colorScheme||"black",className:`${e?.className||""} mb-0 md:mb-0`}),t&&W(R,{align:"center",isFullInMobile:t?.isFullInMobile,buttons:t?.buttons,className:"w-full md:w-full inline-flex items-center justify-center text-base font-semibold text-center"}),W(ko,{dataFeatures:o,template:a,dataStats:i}),s||W($t,{type:n?.type||1,src:n?.src||"",ratio:n?.ratio,youtubeId:n?.youtubeId,className:"rounded-lg"})]});import{Fragment as ad,jsx as mt}from"react/jsx-runtime";var Jc=`var(
|
|
140
140
|
--gradient-pink-1,
|
|
141
141
|
linear-gradient(
|
|
142
142
|
38deg,
|
|
@@ -158,39 +158,35 @@ import*as Pt from"react";import*as ie from"@radix-ui/react-accordion";import{Che
|
|
|
158
158
|
rgba(255, 255, 255, 0) 80%
|
|
159
159
|
),
|
|
160
160
|
#fff
|
|
161
|
-
)`,
|
|
161
|
+
)`,ed=({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})=>{switch(e){case 1:return mt(ha,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});case 2:return mt(an,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});case 3:return mt(rn,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s});default:return mt(ha,{dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,template:e,dataMedia:n,advancedComponent:s})}},td=({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})=>mt(ad,{children:ed({template:e,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:s})}),od=Yc(({template:e=1,dataHeading:t,dataButtons:o,dataFeatures:a,dataStats:i,dataMedia:n,className:s,background:l,advancedComponent:f=null})=>mt(Y,{className:r(s),background:l??Jc,children:mt(td,{dataButtons:o,template:e,dataHeading:t,dataFeatures:a,dataStats:i,dataMedia:n,advancedComponent:f})}));import{Fragment as ya,jsx as T,jsxs as sn}from"react/jsx-runtime";var nn=({dataHeading:e,dataBrands:t,dataButtons:o,spaceX:a,isScrollSnap:i})=>{let n={spacingX:"md:gap-x-5",spacingM:"md:gap-x-6",spacingL:"md:gap-x-7",spacingXl:"md:gap-x-10",spacing2Xl:"md:gap-x-12"};return sn(ya,{children:[e&&T(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&t?.length>0&&T("div",{className:r("list-brands flex flex-row gap-y-6 md:flex-wrap md:justify-center overflow-hidden overflow-x-auto py-2",n[a||"spacingXl"],i?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3 space-x-5 md:space-x-0 px-5 md:px-0":"flex-wrap justify-center"),children:t?.map((s,l)=>T("div",{className:r("flex justify-center items-center md:px-0 md:basis-auto",i?"snap-center shrink-0 basis-1/3":"basis-1/2 px-2.5"),children:T("div",{className:"w-auto max-w-36 flex justify-center items-center",children:s?.url?T("a",{href:s?.url,title:s?.name,target:s?.newTab?"_blank":"_self",className:"group",children:T("img",{src:s?.logo,loading:"lazy",alt:s?.name,className:"object-contain transition transform group-hover:scale-105"})}):T("img",{src:s?.logo,loading:"lazy",alt:s?.name,className:"object-contain"})})},l))}),o&&T(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]})},id=({dataHeading:e,dataBrands:t,dataButtons:o,isScrollSnap:a})=>sn(ya,{children:[e&&T(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&t?.length>0&&T("div",{className:r("list-brands md:grid-cols-4 md:gap-y-6 md:gap-x-7",a?"snap-x snap-mandatory flex-nowrap -mx-5 pb-3 flex md:grid overflow-hidden overflow-x-auto md:mx-0 md:px-0 px-5 space-x-5 md:space-x-0":"grid grid-cols-2 gap-x-4 gap-y-6"),children:t?.map((i,n)=>T("div",{className:r("flex justify-center items-center text-center",a?"snap-center shrink-0 basis-5/12":""),children:i?.url?T("a",{href:i?.url,title:i?.name,target:i?.newTab?"_blank":"_self",className:"flex justify-center items-center rounded-md border border-gray-200 duration-300 hover:border-pink-500 w-full h-full p-3",children:T("div",{className:"w-auto max-w-36 flex justify-center items-center",children:T("img",{src:i?.logo,loading:"lazy",alt:i?.name,className:"object-contain"})})}):T("div",{className:"flex justify-center items-center rounded-md border border-gray-200 w-full h-full p-3",children:T("div",{className:"w-auto max-w-36 flex justify-center items-center",children:T("img",{src:i?.logo,loading:"lazy",alt:i?.name,className:"object-contain"})})})},n))}),o&&T(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),rd=({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})=>{switch(e){case 1:return T(nn,{dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n});case 2:return T(id,{dataHeading:t,dataBrands:o,dataButtons:a,isScrollSnap:n});default:return T(nn,{dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})}},nd=({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})=>T(ya,{children:rd({template:e,dataHeading:t,dataBrands:o,dataButtons:a,spaceX:i,isScrollSnap:n})}),sd=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataBrands:n,dataButtons:s,spaceX:l="spacingXl",isScrollSnap:f})=>T(Y,{className:o,idSection:a,background:t,children:T(nd,{template:e,dataHeading:i,dataBrands:n,dataButtons:s,spaceX:l,isScrollSnap:f})});import _ from"html-react-parser";import{ChevronRightIcon as ld}from"@heroicons/react/16/solid";import{Fragment as Qe,jsx as m,jsxs as u}from"react/jsx-runtime";var Ce=({btnLink:e,btnName:t,newTab:o})=>m(ze,{variant:"primary",asChild:!0,children:u("a",{href:e,target:o?"_blank":"_self",rel:"noreferrer",children:[t||"Xem chi ti\u1EBFt",m(ld,{className:"w-4 h-4"})]})}),wa=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(Qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((a,i)=>u("div",{className:"feature-item relative w-full text-center flex flex-col",children:[m("div",{className:"w-16 h-16 mx-auto",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),u("div",{className:"w-full mt-4 flex-1",children:[u("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:_(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),ln=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(Qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features list-features-2 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:t?.map((a,i)=>u("div",{className:"feature-item p-5 overflow-hidden border border-gray-200 rounded-md relative w-full flex flex-col",children:[m("div",{className:"w-16 h-16",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),u("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[u("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:_(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"}),m("style",{children:`
|
|
162
162
|
.list-features-2 .feature-item {
|
|
163
163
|
background: linear-gradient(180deg, #FAFAFA 0%, rgba(255, 255, 255, 1) 91%);
|
|
164
164
|
}
|
|
165
|
-
`})]}),rn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(je,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col",children:[m("div",{className:"w-16 h-16",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex-1",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:H(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:H(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),nn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-0 lg:gap-12",children:[g("div",{className:"lg:col-span-4 lg:flex lg:flex-col lg:justify-center",children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:r("lg:mb-0",e?.className)}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`hidden lg:flex ${o?.className}`,align:"left"})]}),g("div",{className:"lg:col-span-6",children:[t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-5",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-5 bg-white",children:[m("div",{className:"w-16 h-16",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:H(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:H(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`flex lg:hidden ${o?.className}`,align:"center"})]})]}),sn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(je,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-5 max-w-4xl mx-auto",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-7 bg-white",children:[m("div",{className:"w-12 h-12 ",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:H(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:H(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),ln=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(je,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-7 lg:gap-y-10",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full",children:[m("div",{className:"w-12 h-12",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:H(a.name)}),a?.description&&m("div",{className:"text-gray-500 mt-2 text-sm",children:H(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),mn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(je,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-6 lg:gap-y-8",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex gap-3",children:[m("div",{className:"w-12 h-12",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:H(a.name)}),a?.description&&m("div",{className:"text-gray-500 mt-2 text-sm",children:H(a.description)}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),cn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>g(je,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-6",children:t?.map((a,i)=>g("div",{className:"feature-item relative w-full flex flex-col overflow-hidden bg-gray-100 rounded-xl",children:[g("div",{className:"w-full flex flex-1 flex-col p-5",children:[g("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:H(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:H(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]}),m("div",{className:"w-full",style:{aspectRatio:"347/220"},children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),dn=({dataHeading:e,dataFeatures:t,dataButtons:o,dataBanner:a})=>g("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-10 lg:gap-14",children:[m("div",{className:"lg:col-span-6 flex items-center",children:g("div",{className:"w-full",children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:auto-cols-auto",children:t?.map((i,n)=>g("div",{className:"feature-item relative w-full flex flex-col",children:[m("div",{className:"w-10 h-10",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:H(i.name)}),i?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:H(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"left"})]})}),a&&m("div",{className:"lg:col-span-4 flex items-center",children:m("div",{className:"max-w-md mx-auto w-full",children:m(ce,{ratio:a?.ratio||1,className:"w-full",children:m("img",{src:a?.src,alt:a?.alt,loading:"lazy",className:"h-full w-full object-cover"})})})})]}),pn=({dataHeading:e,dataFeatures:t,dataBanner:o,dataButtons:a})=>g(je,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),m("div",{className:r("relative flex items-center",o&&"lg:min-h-[590px]"),children:t&&g("div",{className:r("list-features grid grid-cols-1 md:grid-cols-2 gap-8",o?"lg:gap-y-16 lg:gap-x-0 lg:flex-wrap lg:flex lg:flex-row":"max-w-4xl mx-auto"),children:[t?.map((i,n)=>g("div",{className:r("feature-item relative w-full",o&&"lg:basis-1/2 odd:lg:pr-48 even:lg:pl-48"),children:[m("div",{className:"w-12 h-12",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),g("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[g("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:H(i.name)}),i?.description&&m("div",{className:"text-gray-500 mt-2",children:H(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n)),o&&g("div",{className:"absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 hidden lg:flex lg:justify-center lg:items-end xl:p-2 lg:p-1.5 w-72 mx-auto",style:{aspectRatio:"352/721"},children:[m("div",{className:"mockup-bg absolute inset-0 w-full h-full select-none pointer-events-none",style:{background:"url(https://homepage.momocdn.net/img/momo-amazone-s3-api-240809173159-638588215193226459.png) no-repeat bottom center/contain"}}),m("div",{className:"w-full h-full bg-gray-100 overflow-hidden",style:{borderRadius:"30px"},children:m("img",{src:o?.src,alt:o?.alt,className:"w-full h-full object-contain"})})]})]})}),a&&m(R,{isFullInMobile:a?.isFullInMobile,buttons:a?.buttons,className:a?.className,align:"center"})]});import{Fragment as ud,jsx as J}from"react/jsx-runtime";var pd=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>{switch(e){case 1:return J(va,{dataHeading:t,dataFeatures:o,dataButtons:a});case 2:return J(an,{dataHeading:t,dataFeatures:o,dataButtons:a});case 3:return J(rn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 4:return J(nn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 5:return J(sn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 6:return J(ln,{dataHeading:t,dataFeatures:o,dataButtons:a});case 7:return J(mn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 8:return J(cn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 9:return J(dn,{dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i});case 10:return J(pn,{dataHeading:t,dataFeatures:o,dataBanner:i,dataButtons:a});default:return J(va,{dataHeading:t,dataFeatures:o,dataButtons:a})}},fd=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>J(ud,{children:pd({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})}),gd=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:l})=>J(Y,{className:o,idSection:a,background:t,children:J(fd,{template:e,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:l})});import ba from"html-react-parser";import{StarIcon as vd}from"@heroicons/react/24/solid";import{Fragment as un,jsx as M,jsxs as lt}from"react/jsx-runtime";var fn=({testimonial:e,isHiddenOnMobile:t=!1,index:o=0,itemCount:a})=>M("div",{className:r("testimonial-item grow sm:px-0 basis-10/12 md:basis-0 px-3 snap-center shrink-0 first:pl-5 md:first:pl-0",t?"hidden sm:block":"",o+1===a?"pr-5":""),children:M("div",{className:"rounded-xl border border-gray-50 bg-white px-5 pt-4 sm:px-5 pb-10 shadow-md relative h-full",children:lt("div",{className:"testimonial-item-width",children:[lt("div",{className:"flex flex-nowrap items-center space-x-2",children:[M("div",{className:"h-9 w-9 shrink-0 overflow-hidden rounded-full",children:M("img",{src:e?.avatar,loading:"lazy",className:"h-full w-full object-cover",alt:e.name})}),lt("div",{className:"min-w-0 flex-1 pl-1",children:[M("div",{className:"overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-gray-700",children:e.name}),e?.position&&M("div",{className:"text-xs font-normal text-pink-500",children:ba(e.position)})]})]}),lt("div",{className:"mt-3",children:[e?.shortTitle&&M("div",{className:"text-sm font-bold text-gray-700",children:ba(e.shortTitle)}),e?.description&&M("div",{className:"relative mt-1 max-h-full overflow-hidden text-sm leading-normal text-gray-600",children:ba(e.description)})]}),lt("div",{className:"absolute bottom-0 left-0 right-0 flex items-center justify-between space-x-2 p-4 md:px-5",children:[M("div",{className:"text-xs text-gray-400",children:e.date}),e?.rating&&e?.rating>0&&M("div",{className:"flex flex-nowrap space-x-0.5 text-sm",children:Array.from({length:5},(i,n)=>M(vd,{className:`h-4 w-4 ${n<(e.rating??0)?"text-yellow-400":"text-gray-200"}`},n))})]})]})})}),gn=({dataHeading:e,dataTestimonials:t,dataButtons:o})=>lt(un,{children:[e&&M(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"center",colorScheme:e.colorScheme||"pink",sizeHeading:e.sizeHeading,className:e.className}),(t?.length??0)>0&&M("div",{className:"testimonials-mobase scroll-hidden relative overflow-x-scroll py-2 md:overflow-hidden -my-2 -mx-5 sm:mx-0",children:lt("div",{className:"testimonials-slider sm:space-x-6 flex flex-row overflow-hidden overflow-x-auto sm:overflow-visible sm:pl-6 sm:pr-0 snap-x sm:snap-none snap-mandatory pb-3 sm:pb-0",children:[t?.map((a,i)=>M(fn,{testimonial:a,index:i,itemCount:t?.length||0},i)),(t?.length??0)>3&&t?.map((a,i)=>M(fn,{testimonial:a,isHiddenOnMobile:!0},i))]})}),o&&M(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"}),M("style",{children:`
|
|
166
|
-
${(t?.length??0)>3?`
|
|
165
|
+
`})]}),mn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(Qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-8 lg:gap-12",children:t?.map((a,i)=>u("div",{className:"feature-item relative w-full flex flex-col",children:[m("div",{className:"w-16 h-16",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),u("div",{className:"w-full mt-4 flex-1",children:[u("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:_(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),cn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-0 lg:gap-12",children:[u("div",{className:"lg:col-span-4 lg:flex lg:flex-col lg:justify-center",children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:r("lg:mb-0",e?.className)}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`hidden lg:flex ${o?.className}`,align:"left"})]}),u("div",{className:"lg:col-span-6",children:[t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:gap-5",children:t?.map((a,i)=>u("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-5 bg-white",children:[m("div",{className:"w-16 h-16",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),u("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[u("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:_(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:`flex lg:hidden ${o?.className}`,align:"center"})]})]}),dn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(Qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-5 max-w-4xl mx-auto",children:t?.map((a,i)=>u("div",{className:"feature-item relative w-full flex flex-col border border-gray-200 rounded-lg p-7 bg-white",children:[m("div",{className:"w-12 h-12 ",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),u("div",{className:"w-full mt-4 flex flex-1 flex-col",children:[u("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:_(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),pn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(Qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-7 lg:gap-y-10",children:t?.map((a,i)=>u("div",{className:"feature-item relative w-full",children:[m("div",{className:"w-12 h-12",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),u("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[u("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(a.name)}),a?.description&&m("div",{className:"text-gray-500 mt-2 text-sm",children:_(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),fn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(Qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 lg:gap-x-6 lg:gap-y-8",children:t?.map((a,i)=>u("div",{className:"feature-item relative w-full flex gap-3",children:[m("div",{className:"w-12 h-12",children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})}),u("div",{className:"w-full flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(a.name)}),a?.description&&m("div",{className:"text-gray-500 mt-2 text-sm",children:_(a.description)}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),gn=({dataHeading:e,dataFeatures:t,dataButtons:o})=>u(Qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-3 gap-6",children:t?.map((a,i)=>u("div",{className:"feature-item relative w-full flex flex-col overflow-hidden bg-gray-100 rounded-xl",children:[u("div",{className:"w-full flex flex-1 flex-col p-5",children:[u("div",{className:"flex-1",children:[a?.name&&m("h3",{className:"text-lg font-semibold",children:_(a.name)}),a?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:_(a.description)})]}),a?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:a.btnLink,btnName:a?.btnName,newTab:a?.newTab})})]}),m("div",{className:"w-full",style:{aspectRatio:"347/220"},children:m("img",{src:a?.image,alt:a?.name,className:"w-full h-full object-contain"})})]},i))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"})]}),un=({dataHeading:e,dataFeatures:t,dataButtons:o,dataBanner:a})=>u("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-10 lg:gap-14",children:[m("div",{className:"lg:col-span-6 flex items-center",children:u("div",{className:"w-full",children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"left",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),t&&m("div",{className:"list-features grid grid-cols-1 md:grid-cols-2 gap-6 md:auto-cols-auto",children:t?.map((i,n)=>u("div",{className:"feature-item relative w-full flex flex-col",children:[m("div",{className:"w-10 h-10",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),u("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[u("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:_(i.name)}),i?.description&&m("div",{className:"text-gray-600 mt-2 text-base",children:_(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n))}),o&&m(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"left"})]})}),a&&m("div",{className:"lg:col-span-4 flex items-center",children:m("div",{className:"max-w-md mx-auto w-full",children:m(de,{ratio:a?.ratio||1,className:"w-full",children:m("img",{src:a?.src,alt:a?.alt,loading:"lazy",className:"h-full w-full object-cover"})})})})]}),vn=({dataHeading:e,dataFeatures:t,dataBanner:o,dataButtons:a})=>u(Qe,{children:[e&&m(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:e?.className}),m("div",{className:r("relative flex items-center",o&&"lg:min-h-[590px]"),children:t&&u("div",{className:r("list-features grid grid-cols-1 md:grid-cols-2 gap-8",o?"lg:gap-y-16 lg:gap-x-0 lg:flex-wrap lg:flex lg:flex-row":"max-w-4xl mx-auto"),children:[t?.map((i,n)=>u("div",{className:r("feature-item relative w-full",o&&"lg:basis-1/2 odd:lg:pr-48 even:lg:pl-48"),children:[m("div",{className:"w-12 h-12",children:m("img",{src:i?.image,alt:i?.name,className:"w-full h-full object-contain"})}),u("div",{className:"w-full mt-3 flex flex-1 flex-col",children:[u("div",{className:"flex-1",children:[i?.name&&m("h3",{className:"text-lg font-semibold",children:_(i.name)}),i?.description&&m("div",{className:"text-gray-500 mt-2",children:_(i.description)})]}),i?.btnLink&&m("div",{className:"mt-4",children:m(Ce,{btnLink:i.btnLink,btnName:i?.btnName,newTab:i?.newTab})})]})]},n)),o&&u("div",{className:"absolute top-1/2 left-1/2 -translate-y-1/2 -translate-x-1/2 hidden lg:flex lg:justify-center lg:items-end xl:p-2 lg:p-1.5 w-72 mx-auto",style:{aspectRatio:"352/721"},children:[m("div",{className:"mockup-bg absolute inset-0 w-full h-full select-none pointer-events-none",style:{background:"url(https://homepage.momocdn.net/img/momo-amazone-s3-api-240809173159-638588215193226459.png) no-repeat bottom center/contain"}}),m("div",{className:"w-full h-full bg-gray-100 overflow-hidden",style:{borderRadius:"30px"},children:m("img",{src:o?.src,alt:o?.alt,className:"w-full h-full object-contain"})})]})]})}),a&&m(R,{isFullInMobile:a?.isFullInMobile,buttons:a?.buttons,className:a?.className,align:"center"})]});import{Fragment as pd,jsx as J}from"react/jsx-runtime";var md=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>{switch(e){case 1:return J(wa,{dataHeading:t,dataFeatures:o,dataButtons:a});case 2:return J(ln,{dataHeading:t,dataFeatures:o,dataButtons:a});case 3:return J(mn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 4:return J(cn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 5:return J(dn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 6:return J(pn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 7:return J(fn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 8:return J(gn,{dataHeading:t,dataFeatures:o,dataButtons:a});case 9:return J(un,{dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i});case 10:return J(vn,{dataHeading:t,dataFeatures:o,dataBanner:i,dataButtons:a});default:return J(wa,{dataHeading:t,dataFeatures:o,dataButtons:a})}},cd=({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})=>J(pd,{children:md({template:e,dataHeading:t,dataFeatures:o,dataButtons:a,dataBanner:i})}),dd=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:l})=>J(Y,{className:o,idSection:a,background:t,children:J(cd,{template:e,dataHeading:i,dataFeatures:n,dataButtons:s,dataBanner:l})});import Na from"html-react-parser";import{StarIcon as fd}from"@heroicons/react/24/solid";import{Fragment as hn,jsx as I,jsxs as ct}from"react/jsx-runtime";var bn=({testimonial:e,isHiddenOnMobile:t=!1,index:o=0,itemCount:a})=>I("div",{className:r("testimonial-item grow sm:px-0 basis-10/12 md:basis-0 px-3 snap-center shrink-0 first:pl-5 md:first:pl-0",t?"hidden sm:block":"",o+1===a?"pr-5":""),children:I("div",{className:"rounded-xl border border-gray-50 bg-white px-5 pt-4 sm:px-5 pb-10 shadow-md relative h-full",children:ct("div",{className:"testimonial-item-width",children:[ct("div",{className:"flex flex-nowrap items-center space-x-2",children:[I("div",{className:"h-9 w-9 shrink-0 overflow-hidden rounded-full",children:I("img",{src:e?.avatar,loading:"lazy",className:"h-full w-full object-cover",alt:e.name})}),ct("div",{className:"min-w-0 flex-1 pl-1",children:[I("div",{className:"overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-gray-700",children:e.name}),e?.position&&I("div",{className:"text-xs font-normal text-pink-500",children:Na(e.position)})]})]}),ct("div",{className:"mt-3",children:[e?.shortTitle&&I("div",{className:"text-sm font-bold text-gray-700",children:Na(e.shortTitle)}),e?.description&&I("div",{className:"relative mt-1 max-h-full overflow-hidden text-sm leading-normal text-gray-600",children:Na(e.description)})]}),ct("div",{className:"absolute bottom-0 left-0 right-0 flex items-center justify-between space-x-2 p-4 md:px-5",children:[I("div",{className:"text-xs text-gray-400",children:e.date}),e?.rating&&e?.rating>0&&I("div",{className:"flex flex-nowrap space-x-0.5 text-sm",children:Array.from({length:5},(i,n)=>I(fd,{className:`h-4 w-4 ${n<(e.rating??0)?"text-yellow-400":"text-gray-200"}`},n))})]})]})})}),xn=({dataHeading:e,dataTestimonials:t,dataButtons:o})=>{let a=t?.length??0,i=a>3;return ct(hn,{children:[e&&I(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"center",colorScheme:e.colorScheme||"pink",sizeHeading:e.sizeHeading,className:e.className}),a>0&&I("div",{className:r("testimonials-mobase scroll-hidden relative overflow-x-scroll py-2 md:overflow-hidden -my-2 -mx-5 sm:mx-0",i&&"run-animation"),children:ct("div",{className:"testimonials-slider sm:space-x-6 flex flex-row overflow-hidden overflow-x-auto sm:overflow-visible sm:pl-6 sm:pr-0 snap-x sm:snap-none snap-mandatory pb-3 sm:pb-0",children:[t?.map((n,s)=>I(bn,{testimonial:n,index:s,itemCount:a},`main-${s}`)),i&&t?.map((n,s)=>I(bn,{testimonial:n,isHiddenOnMobile:!0},`duplicate-${s}`))]})}),o&&I(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:o?.className,align:"center"}),i&&I("style",{children:`
|
|
167
166
|
@media screen and (min-width: 640px) {
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
@keyframes scroll-infinite-mobase {
|
|
184
|
-
0% {
|
|
185
|
-
transform: translateX(0);
|
|
167
|
+
.testimonials-mobase.run-animation {
|
|
168
|
+
--items-count: ${a};
|
|
169
|
+
}
|
|
170
|
+
.testimonials-mobase.run-animation .testimonials-slider {
|
|
171
|
+
animation: scroll-infinite-mobase linear infinite;
|
|
172
|
+
animation-duration: calc(var(--items-count) * 5s);
|
|
173
|
+
}
|
|
174
|
+
.testimonials-mobase.run-animation .testimonials-slider:hover {
|
|
175
|
+
animation-play-state: paused;
|
|
176
|
+
}
|
|
177
|
+
.testimonials-mobase.run-animation .testimonial-item-width {
|
|
178
|
+
width: ${a===4?"410px":"320px"};
|
|
179
|
+
}
|
|
186
180
|
}
|
|
187
|
-
|
|
188
|
-
|
|
181
|
+
@keyframes scroll-infinite-mobase {
|
|
182
|
+
0% {
|
|
183
|
+
transform: translateX(0);
|
|
184
|
+
}
|
|
185
|
+
100% {
|
|
186
|
+
transform: translateX(calc(${a===4?"-476px":"-386px"} * var(--items-count)));
|
|
187
|
+
}
|
|
189
188
|
}
|
|
190
|
-
}
|
|
191
|
-
`:""}
|
|
192
|
-
|
|
193
|
-
`})]}),bd=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>{switch(e){case 1:return M(gn,{dataHeading:t,dataTestimonials:o,dataButtons:a});default:return M(gn,{dataHeading:t,dataTestimonials:o,dataButtons:a})}},xd=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>M(un,{children:bd({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})}),hd=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataTestimonials:n,dataButtons:s})=>M(Y,{className:`${e===1&&(n?.length??0)>3?"[&>.wrapper]:max-w-full [&>.wrapper]:md:px-0":""} ${o||""}`,idSection:a,background:t,children:M(xd,{template:e,dataHeading:i,dataTestimonials:n,dataButtons:s})});import yd,{memo as vn}from"react";import bn from"html-react-parser";import{jsx as pe,jsxs as Qt}from"react/jsx-runtime";var xa=vn(({dataFAQ:e,dataHeading:t})=>Qt("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6",children:[t&&pe(P,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading||"h2",align:"left",colorScheme:t?.colorScheme||"pink",sizeHeading:t?.sizeHeading,className:r("md:mb-0 mb-0 mt-2 col-span-1 text-center md:text-left",t?.className)}),e&&pe("div",{className:"col-span-2",children:e[0]?.contents.map((o,a)=>pe(Qe,{type:"single",collapsible:!0,className:"w-full",children:Qt(Ue,{value:o.title,children:[pe(Xe,{className:"font-bold",children:o.title}),pe(qe,{children:bn(o.description)})]})},o.title+a))})]})),xn=vn(({dataFAQ:e,dataHeading:t})=>Qt(yd.Fragment,{children:[t&&pe(P,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading,align:"center",colorScheme:t?.colorScheme||"pink",sizeHeading:t?.sizeHeading,className:r(t?.className)}),e&&Qt(It,{defaultValue:e[0]?.title,children:[pe(pt,{className:"flex items-center sm:justify-center",children:e.map((o,a)=>pe(ft,{value:o.title,children:o.title},o.title+a))}),e.map((o,a)=>pe(gt,{className:"max-w-3xl mx-auto",value:o.title,children:o.contents.map((i,n)=>pe(Qe,{type:"single",collapsible:!0,className:"w-full",children:Qt(Ue,{value:i.title,children:[pe(Xe,{className:"font-bold",children:i.title}),pe(qe,{children:bn(i.description)})]})},i.title+n))},o.title+a))]})]}));import{Fragment as Cd,jsx as yt}from"react/jsx-runtime";var wd=({template:e,dataFAQ:t,dataHeading:o})=>{switch(e){case 1:return yt(xa,{dataFAQ:t,dataHeading:o});case 2:return yt(xn,{dataFAQ:t,dataHeading:o});default:return yt(xa,{dataFAQ:t,dataHeading:o})}},Nd=({dataHeading:e,dataFAQ:t,template:o})=>yt(Cd,{children:wd({dataHeading:e,dataFAQ:t,template:o})}),Pd=({dataHeading:e,dataFAQ:t=[],className:o="",background:a=""})=>{let i=t&&t?.length>1?2:1;return yt(Y,{className:r(o),background:a,children:yt(Nd,{dataHeading:e,dataFAQ:t,template:i})})};import hn,{memo as yn}from"react";import{jsx as O,jsxs as To}from"react/jsx-runtime";var Rd=({src:e})=>O("div",{className:"aspect-[77/37] rounded-md relative overflow-hidden hidden md:block mb-3",children:O("img",{className:"",src:e,alt:"news-image-des"})}),Td=({src:e})=>O("div",{className:"aspect-[1/1] rounded-md relative overflow-hidden md:hidden mb-3",children:O("img",{className:"",src:e,alt:"new-image"})}),wn=({news:e})=>To("div",{className:"group",children:[O(Rd,{src:e?.thumbnails?.thumbnailDesktop}),O(Td,{src:e?.thumbnails?.thumbnailMobile}),O("div",{className:"mb-3 text-gray-900 font-medium text-sm sm:text-base group-hover:text-pink-500 line-clamp-2 leading-6",children:e?.title}),O("div",{className:"text-gray-500 text-xs",children:e?.dateTime})]}),ha=yn(({dataHeading:e,dataNews:t,cols:o=3,onClickModal:a})=>{let i=(n,s)=>{a&&(n?.preventDefault(),n?.stopPropagation(),a?.(s))};return To(hn.Fragment,{children:[e&&O(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:r(e?.className)}),t&&O("div",{className:`grid gap-4 sm:gap-6 grid-cols-2 sm:grid-cols-${o}`,children:t?.[0]?.contents?.map(n=>O("a",{onClick:s=>i(s,n?.id),href:n.url,target:"_blank",children:O(wn,{news:n})},n?.id))})]})}),Nn=yn(({dataHeading:e,dataNews:t,cols:o=3,onClickModal:a})=>{let i=(n,s)=>{a&&(n?.preventDefault(),n?.stopPropagation(),a?.(s))};return To(hn.Fragment,{children:[e&&O(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:r(e?.className)}),t&&To(It,{defaultValue:t[0]?.title,children:[O(pt,{className:"flex items-center justify-center mb-6",children:t.map((n,s)=>O(ft,{value:n.title,children:n.title},n.title+s))}),t?.map((n,s)=>O(gt,{value:n.title,className:`grid gap-4 sm:gap-6 mt-0 grid-cols-2 sm:grid-cols-${o}`,children:n?.contents?.map(l=>O("a",{onClick:d=>i(d,l?.id),href:l.url,target:"_blank",children:O(wn,{news:l})},l?.id))},n.title+s))]})]})});import{Fragment as Md,jsx as wt,jsxs as Pn}from"react/jsx-runtime";var kd=({template:e,dataNews:t,dataHeading:o,cols:a,onClickModal:i})=>{switch(e){case 1:return wt(ha,{cols:a,dataNews:t,dataHeading:o,onClickModal:i});case 2:return wt(Nn,{cols:a,dataNews:t,dataHeading:o,onClickModal:i});default:return wt(ha,{cols:a,dataNews:t,dataHeading:o,onClickModal:i})}},Sd=({dataHeading:e,dataNews:t,template:o,cols:a,onClickModal:i})=>wt(Md,{children:kd({dataHeading:e,dataNews:t,template:o,cols:a,onClickModal:i})}),Dd=({dataHeading:e,dataNews:t=[],className:o="",background:a="",buttonLoadMore:i,cols:n,onClickModal:s})=>{let l=t&&t?.length>1?2:1;return Pn(Y,{className:r(o),background:a,children:[wt(Sd,{dataHeading:e,dataNews:t,template:l,cols:n,onClickModal:s}),i?.isShow&&wt("div",{className:"w-full flex items-center justify-center mt-8",children:Pn(Rt,{action:i?.url,newTab:i?.isNewTab,variant:"outline",children:[i?.content,i?.icon]})})]})};import{Fragment as Fd,jsx as ae,jsxs as ya}from"react/jsx-runtime";var Cn=({dataHeading:e,dataCTA:t,dataButtons:o})=>ya("div",{className:"rounded-2xl block relative overflow-hidden lg:overflow-visible p-6 md:py-14 md:px-10 bg-pink-50",style:{background:t?.background},children:[e&&ae(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"center",colorScheme:e.colorScheme||"black",sizeHeading:e.sizeHeading,className:e.className}),o&&ae(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:"center"})]}),Id=({dataHeading:e,dataCTA:t,dataButtons:o,dataMedia:a})=>ya("div",{className:"grid gap-6 grid-cols-1 md:grid-cols-2 rounded-2xl block relative overflow-hidden lg:overflow-visible p-6 pb-0 md:px-10 bg-pink-700 md:pb-0 md:pt-0",style:t?.background?{background:t.background}:{},children:[ya("div",{className:"md:py-14 flex flex-col justify-center",children:[e&&ae(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"left",colorScheme:e.colorScheme||"white",sizeHeading:e.sizeHeading,className:e.className}),o&&ae(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:"left"})]}),ae("div",{className:" max-w-sm mx-auto md:ml-auto md:mr-0 w-full md:pt-10 self-end",children:a&&ae(ce,{ratio:4/3,children:ae("img",{src:a.src,alt:a.alt,className:"h-full w-full rounded-md object-contain"})})})]}),Ad=({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})=>{switch(e){case 1:return ae(Cn,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i});case 2:return ae(Id,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i});default:return ae(Cn,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})}},Ld=({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})=>ae(Fd,{children:Ad({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})}),Ed=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataCTA:n,dataButtons:s,dataMedia:l})=>ae(Y,{className:o,idSection:a,background:t,children:ae(Ld,{template:e,dataHeading:i,dataCTA:n,dataButtons:s,dataMedia:l})});import zd from"color";import Bd from"tailwindcss/plugin.js";var Re="250ms",Rn={".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":Re},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":Re},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":Re},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":Re},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":Re},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":Re},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":Re},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":Re},".transition-transform-colors":{"transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":Re},".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":Re}};var Tn={".leading-inherit":{"line-height":"inherit"},".bg-img-inherit":{"background-image":"inherit"},".bg-clip-inherit":{"background-clip":"inherit"},".text-fill-inherit":{"-webkit-text-fill-color":"inherit"},".tap-highlight-transparent":{"-webkit-tap-highlight-color":"transparent"}};var kn={".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 Sn={...Tn,...Rn,...kn};import{flatten as Hd}from"flat";function _d(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 Dn=e=>_d(Hd(e,{safe:!0,delimiter:"-"}));var Mn={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var In={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var An={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var Ln={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var En={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Fn={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var Hn={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var _n={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var zn={white:"#ffffff",black:"#000000",blue:Mn,green:In,pink:An,purple:Ln,red:En,yellow:Fn,gray:_n,orange:Hn};var wa={...zn};var Bn={"disabled-opacity":.5,"box-shadow":{small:"0px 0px 5px 0px rgb(0 0 0 / 0.02), 0px 2px 10px 0px rgb(0 0 0 / 0.06), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",medium:"0px 0px 15px 0px rgb(0 0 0 / 0.03), 0px 2px 30px 0px rgb(0 0 0 / 0.08), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",large:"0px 0px 30px 0px rgb(0 0 0 / 0.04), 0px 30px 60px 0px rgb(0 0 0 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.3)"},radius:{none:"0px",sm:"0.125rem",default:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},"z-index":{negative:"-1",workbench:"0",default:"1","workbench-header":"10",modal:"100","modal-content":"101",dropdown:"1000",tooltip:"10000",notification:"100000"},"font-size":{xxs:"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},"line-height":{xxs:"1rem",xs:"1rem",sm:"1.25rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.25rem","4xl":"2.5rem","5xl":"1","6xl":"1","7xl":"1","8xl":"1","9xl":"1"}};var Vn={animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","spin-loading":"spin 1s steps(12, end) infinite","fade-in":"fade-in 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"fade-in":{"0%":{opacity:"0"},"100%":{opacity:"1"}}}};var Vd=e=>{let t={utilities:{},colors:{}},o=Dn(wa),a=Bn,i=":root";return t.utilities[i]={},Object.entries(o).forEach(([n,s])=>{if(s)try{let[l,d,p]=zd(s).rgb().array(),f=`--${e}-${n}`;t.utilities[i][f]=`${l} ${d} ${p}`,t.colors[n]=`rgb(var(${f}) / <alpha-value>)`}catch(l){console.log("error",l?.message)}}),Object.entries(a).forEach(([n,s])=>{if(!s)return;let l=`--${e}-${n}`;if(typeof s=="object")Object.entries(s).forEach(([d,p])=>{let f=`${l}-${d}`;t.utilities[i][f]=p});else{let d=l.includes("opacity")&&typeof s=="number"?s?.toString().replace(/^0\./,"."):s;t.utilities[i][l]=d}}),t},Od=()=>{let e="mobase",t=Vd(e);return Bd(({addBase:o,addUtilities:a,addComponents:i})=>{i({".wrapper":{maxWidth:"72rem",paddingLeft:"1.25rem",paddingRight:"1.25rem",marginLeft:"auto",marginRight:"auto","@media (min-width: 768px)":{paddingLeft:"2rem",paddingRight:"2rem"}}}),o({":root":{"font-smooth--webkit":"antialiased"},...t?.utilities}),a({...Sn})},{theme:{container:{center:!0},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},extend:{fontFamily:{sans:["-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"],mono:["SFMono-Regular","Consolas","Liberation Mono","Menlo","monospace"]},colors:{...wa,...t?.colors,border:"rgba(var(--border))"},boxShadow:{small:`var(--${e}-box-shadow-small)`,medium:`var(--${e}-box-shadow-medium)`,large:`var(--${e}-box-shadow-large)`},borderRadius:{none:`var(--${e}-radius-none)`,sm:`var(--${e}-radius-sm)`,DEFAULT:`var(--${e}-radius-default)`,md:`var(--${e}-radius-md)`,lg:`var(--${e}-radius-lg)`,xl:`var(--${e}-radius-xl)`,"2xl":`var(--${e}-radius-2xl)`,"3xl":`var(--${e}-radius-3xl)`,full:`var(--${e}-radius-full)`},fontSize:{xxs:[`var(--${e}-font-size-xxs)`,`var(--${e}-line-height-xxs)`],xs:[`var(--${e}-font-size-xs)`,`var(--${e}-line-height-xs)`],sm:[`var(--${e}-font-size-sm)`,`var(--${e}-line-height-sm)`],base:[`var(--${e}-font-size-base)`,`var(--${e}-line-height-base)`],lg:[`var(--${e}-font-size-lg)`,`var(--${e}-line-height-lg)`],xl:[`var(--${e}-font-size-xl)`,`var(--${e}-line-height-xl)`],"2xl":[`var(--${e}-font-size-2xl)`,`var(--${e}-line-height-2xl)`],"3xl":[`var(--${e}-font-size-3xl)`,`var(--${e}-line-height-3xl)`],"4xl":[`var(--${e}-font-size-4xl)`,`var(--${e}-line-height-4xl)`],"5xl":[`var(--${e}-font-size-5xl)`,`var(--${e}-line-height-5xl)`],"6xl":[`var(--${e}-font-size-6xl)`,`var(--${e}-line-height-6xl)`],"7xl":[`var(--${e}-font-size-7xl)`,`var(--${e}-line-height-7xl)`],"8xl":[`var(--${e}-font-size-8xl)`,`var(--${e}-line-height-8xl)`],"9xl":[`var(--${e}-font-size-9xl)`,`var(--${e}-line-height-9xl)`]},zIndex:{negative:`var(--${e}-z-index-negative)`,workbench:`var(--${e}-z-index-workbench)`,default:`var(--${e}-z-index-default)`,"workbench-header":`var(--${e}-z-index-workbench-header)`,modal:`var(--${e}-z-index-modal)`,"modal-content":`var(--${e}-z-index-modal-content)`,dropdown:`var(--${e}-z-index-dropdown)`,tooltip:`var(--${e}-z-index-tooltip)`,notification:`var(--${e}-z-index-notification)`},...Vn}}})};import{Fragment as Wd,jsx as N,jsxs as $d}from"react/jsx-runtime";var Gd=$d(Wd,{children:[N("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"}),N("meta",{name:"distribution",content:"Global"}),N("meta",{name:"author",content:"V\xED MoMo"}),N("meta",{property:"fb:app_id",content:"320653355376196"}),N("meta",{property:"fb:pages",content:"138010322921640"}),N("link",{rel:"shortcut icon",href:"/favicon.ico"}),N("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),N("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),N("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),N("meta",{name:"language",content:"vietnamese"}),N("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),N("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),N("meta",{name:"RATING",content:"GENERAL"}),N("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),N("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),N("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),N("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),N("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),N("link",{rel:"dns-prefetch",href:"//facebook.com"}),N("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),N("link",{rel:"dns-prefetch",href:"//www.google.com"}),N("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),N("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),N("link",{rel:"preconnect",href:"//connect.facebook.net"}),N("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),N("link",{rel:"preconnect",href:"//www.google-analytics.com"}),N("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),N("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),N("link",{rel:"preconnect",href:"//www.google.com"}),N("link",{rel:"preconnect",href:"//www.google.com.vn"}),N("link",{rel:"preconnect",href:"//www.googleadservices.com"}),N("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
|
|
189
|
+
`})]})},gd=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>{switch(e){case 1:return I(xn,{dataHeading:t,dataTestimonials:o,dataButtons:a});default:return I(xn,{dataHeading:t,dataTestimonials:o,dataButtons:a})}},ud=({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})=>I(hn,{children:gd({template:e,dataHeading:t,dataTestimonials:o,dataButtons:a})}),vd=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataTestimonials:n,dataButtons:s})=>I(Y,{className:`${e===1&&(n?.length??0)>3?"[&>.wrapper]:max-w-full [&>.wrapper]:md:px-0":""} ${o||""}`,idSection:a,background:t,children:I(ud,{template:e,dataHeading:i,dataTestimonials:n,dataButtons:s})});import bd,{memo as yn}from"react";import wn from"html-react-parser";import{jsx as fe,jsxs as Ut}from"react/jsx-runtime";var Pa=yn(({dataFAQ:e,dataHeading:t})=>Ut("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6",children:[t&&fe(P,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading||"h2",align:"left",colorScheme:t?.colorScheme||"pink",sizeHeading:t?.sizeHeading,className:r("md:mb-0 mb-0 mt-2 col-span-1 text-center md:text-left",t?.className)}),e&&fe("div",{className:"col-span-2",children:e[0]?.contents.map((o,a)=>fe(Xe,{type:"single",collapsible:!0,className:"w-full",children:Ut(qe,{value:o.title,children:[fe(Ze,{className:"font-bold",children:o.title}),fe(Ke,{children:wn(o.description)})]})},o.title+a))})]})),Nn=yn(({dataFAQ:e,dataHeading:t})=>Ut(bd.Fragment,{children:[t&&fe(P,{tagline:t?.tagline,title:t?.title,description:t?.description,tagHeading:t?.tagHeading,align:"center",colorScheme:t?.colorScheme||"pink",sizeHeading:t?.sizeHeading,className:r(t?.className)}),e&&Ut(It,{defaultValue:e[0]?.title,children:[fe(gt,{className:"flex items-center sm:justify-center",children:e.map((o,a)=>fe(ut,{value:o.title,children:o.title},o.title+a))}),e.map((o,a)=>fe(vt,{className:"max-w-3xl mx-auto",value:o.title,children:o.contents.map((i,n)=>fe(Xe,{type:"single",collapsible:!0,className:"w-full",children:Ut(qe,{value:i.title,children:[fe(Ze,{className:"font-bold",children:i.title}),fe(Ke,{children:wn(i.description)})]})},i.title+n))},o.title+a))]})]}));import{Fragment as wd,jsx as wt}from"react/jsx-runtime";var xd=({template:e,dataFAQ:t,dataHeading:o})=>{switch(e){case 1:return wt(Pa,{dataFAQ:t,dataHeading:o});case 2:return wt(Nn,{dataFAQ:t,dataHeading:o});default:return wt(Pa,{dataFAQ:t,dataHeading:o})}},hd=({dataHeading:e,dataFAQ:t,template:o})=>wt(wd,{children:xd({dataHeading:e,dataFAQ:t,template:o})}),yd=({dataHeading:e,dataFAQ:t=[],className:o="",background:a=""})=>{let i=t&&t?.length>1?2:1;return wt(Y,{className:r(o),background:a,children:wt(hd,{dataHeading:e,dataFAQ:t,template:i})})};import Nd,{memo as Pd}from"react";import Pn from"html-react-parser";import{Fragment as Cn,jsx as z,jsxs as Re}from"react/jsx-runtime";var Cd=({news:e})=>{let t=(o,a)=>{o?.preventDefault(),o?.stopPropagation(),window.open(a,"_blank")};return Re(Cn,{children:[z("div",{className:"rounded-md md:rounded-none aspect-1 md:aspect-[77/37] relative overflow-hidden block bg-gray-100",children:Re("picture",{children:[z("source",{media:"(min-width: 640px)",srcSet:e?.thumbnailDesktop}),z("img",{className:"object-cover w-full h-full",src:e?.thumbnailMobile,alt:e?.title})]})}),Re("div",{className:"flex flex-col flex-1 mt-3 md:mt-0 md:p-3",children:[z("div",{className:"text-gray-900 font-medium text-sm group-hover:text-pink-500 flex-1 line-clamp-2 md:line-clamp-none",children:e?.title}),Re("div",{className:"flex items-center space-x-1 mt-2",children:[e?.category&&e?.categoryUrl&&Re(Cn,{children:[z(ze,{variant:"primary",className:"text-xs",onClick:o=>t(o,e?.categoryUrl||""),children:e?.category}),z("span",{className:"flex-none",children:"\xB7"})]}),z("div",{className:"text-gray-500 text-xs flex-none",children:e?.dateTime})]})]})]})},Ca=Pd(({dataHeading:e,dataHorizontalScroll:t,dataNews:o,onClickModal:a,onClickLoadMore:i})=>{let{showGradientOverlay:n=!0,gradientOverlayColor:s,className:l}=t||{},f=(c,g,v)=>{c?.preventDefault(),c?.stopPropagation(),a?a(g):window.open(v,"_blank")},p=(c,g)=>Re("div",{children:[z("div",{className:r("flex flex-row flex-wrap -mx-2 gap-y-5",c?.newsList?.length<4?"justify-center":""),children:c?.newsList?.map((v,S)=>z("div",{className:"px-2 basis-1/2 lg:basis-1/4",children:z("div",{onClick:E=>f(E,v?.id,v?.url),className:r("cursor-pointer group flex flex-col md:h-full md:rounded-md overflow-hidden md:shadow-md md:bg-white",c?.classNameItem),children:z(Cd,{news:v})},v?.id)},S))}),c?.isShowBtn&&z("div",{className:"w-full flex items-center justify-center mt-8",children:Re(Rt,{action:i?()=>i?.(g):c?.btnUrl,newTab:c?.isNewTab,variant:"outline",children:[Pn(c.btnName||"Xem th\xEAm"),c?.isloading?z(Xt,{className:"animate-spin-loading ml-2 w-5 h-5"}):Pn(c?.btnIcon||"")]})})]},c?.title||g);return Re(Nd.Fragment,{children:[e&&z(P,{tagline:e?.tagline,title:e?.title,description:e?.description,tagHeading:e?.tagHeading,align:"center",colorScheme:e?.colorScheme||"pink",sizeHeading:e?.sizeHeading,className:r(e?.className)}),o?.length>1?Re(It,{defaultValue:o[0]?.title,children:[Re(fa,{showGradientOverlay:n,gradientOverlayColor:s,className:l,children:[z(ga,{className:"mb-6",children:z(gt,{className:"flex items-center md:justify-center mb-6 overflow-visible w-auto mb-0",children:o.map((c,g)=>z(ut,{value:c.title,children:c.title},c.title+g))})}),z(ua,{}),z(va,{})]}),o.map((c,g)=>z(vt,{value:c.title,children:p(c,g)},c.title+g))]}):o?.length===1&&o[0]&&p(o[0],0)]})});import{Fragment as Sd,jsx as Qt}from"react/jsx-runtime";var Rd=({template:e,dataNews:t,dataHeading:o,dataHorizontalScroll:a,onClickModal:i,onClickLoadMore:n})=>{switch(e){case 1:return Qt(Ca,{dataNews:t,dataHeading:o,dataHorizontalScroll:a,onClickModal:i,onClickLoadMore:n});default:return Qt(Ca,{dataNews:t,dataHeading:o,dataHorizontalScroll:a,onClickModal:i,onClickLoadMore:n})}},Td=({dataHeading:e,dataHorizontalScroll:t,dataNews:o,template:a,onClickModal:i,onClickLoadMore:n})=>Qt(Sd,{children:Rd({dataHeading:e,dataHorizontalScroll:t,dataNews:o,template:a,onClickModal:i,onClickLoadMore:n})}),kd=({dataHeading:e,dataHorizontalScroll:t,dataNews:o=[],className:a,background:i,template:n=1,onClickModal:s,onClickLoadMore:l})=>Qt(Y,{className:r(a),background:i,children:Qt(Td,{dataHeading:e,dataHorizontalScroll:t,dataNews:o,template:n,onClickModal:s,onClickLoadMore:l})});import{Fragment as Ld,jsx as ae,jsxs as Ra}from"react/jsx-runtime";var Rn=({dataHeading:e,dataCTA:t,dataButtons:o})=>Ra("div",{className:"rounded-2xl block relative overflow-hidden lg:overflow-visible p-6 md:py-14 md:px-10 bg-pink-50",style:{background:t?.background},children:[e&&ae(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"center",colorScheme:e.colorScheme||"black",sizeHeading:e.sizeHeading,className:e.className}),o&&ae(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:"center"})]}),Dd=({dataHeading:e,dataCTA:t,dataButtons:o,dataMedia:a})=>Ra("div",{className:"grid gap-6 grid-cols-1 md:grid-cols-2 rounded-2xl block relative overflow-hidden lg:overflow-visible p-6 pb-0 md:px-10 bg-pink-700 md:pb-0 md:pt-0",style:t?.background?{background:t.background}:{},children:[Ra("div",{className:"md:py-14 flex flex-col justify-center",children:[e&&ae(P,{tagline:e.tagline,title:e.title,description:e.description,tagHeading:e.tagHeading,align:"left",colorScheme:e.colorScheme||"white",sizeHeading:e.sizeHeading,className:e.className}),o&&ae(R,{isFullInMobile:o?.isFullInMobile,buttons:o?.buttons,className:r(o?.className,"mt-0 md:mt-0"),align:"left"})]}),ae("div",{className:" max-w-sm mx-auto md:ml-auto md:mr-0 w-full md:pt-10 self-end",children:a&&ae(de,{ratio:4/3,children:ae("img",{src:a.src,alt:a.alt,className:"h-full w-full rounded-md object-contain"})})})]}),Md=({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})=>{switch(e){case 1:return ae(Rn,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i});case 2:return ae(Dd,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i});default:return ae(Rn,{dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})}},Id=({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})=>ae(Ld,{children:Md({template:e,dataHeading:t,dataCTA:o,dataButtons:a,dataMedia:i})}),Ad=({template:e=1,background:t,className:o,idSection:a,dataHeading:i,dataCTA:n,dataButtons:s,dataMedia:l})=>ae(Y,{className:o,idSection:a,background:t,children:ae(Id,{template:e,dataHeading:i,dataCTA:n,dataButtons:s,dataMedia:l})});import Hd from"color";import _d from"tailwindcss/plugin.js";var Te="250ms",Tn={".transition-background":{"transition-property":"background","transition-timing-function":"ease","transition-duration":Te},".transition-colors-opacity":{"transition-property":"color, background-color, border-color, text-decoration-color, fill, stroke, opacity","transition-timing-function":"ease","transition-duration":Te},".transition-width":{"transition-property":"width","transition-timing-function":"ease","transition-duration":Te},".transition-height":{"transition-property":"height","transition-timing-function":"ease","transition-duration":Te},".transition-size":{"transition-property":"width, height","transition-timing-function":"ease","transition-duration":Te},".transition-left":{"transition-property":"left","transition-timing-function":"ease","transition-duration":Te},".transition-transform-opacity":{"transition-property":"transform, opacity","transition-timing-function":"ease","transition-duration":Te},".transition-transform-background":{"transition-property":"transform, background","transition-timing-function":"ease","transition-duration":Te},".transition-transform-colors":{"transition-property":"transform, color, background, background-color, border-color, text-decoration-color, fill, stroke","transition-timing-function":"ease","transition-duration":Te},".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":Te}};var kn={".leading-inherit":{"line-height":"inherit"},".bg-img-inherit":{"background-image":"inherit"},".bg-clip-inherit":{"background-clip":"inherit"},".text-fill-inherit":{"-webkit-text-fill-color":"inherit"},".tap-highlight-transparent":{"-webkit-tap-highlight-color":"transparent"}};var Sn={".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 Dn={...kn,...Tn,...Sn};import{flatten as Ed}from"flat";function Fd(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 Mn=e=>Fd(Ed(e,{safe:!0,delimiter:"-"}));var In={50:"#eef8ff",100:"#d9eeff",200:"#bce1ff",300:"#8ed0ff",400:"#59b4ff",500:"#429cff",600:"#1b74f5",700:"#145ee1",800:"#174bb6",900:"#19428f",DEFAULT:"#429cff"};var An={50:"#f1fcf3",100:"#dff9e5",200:"#c0f2cc",300:"#8fe6a4",400:"#57d175",500:"#34c759",600:"#22973f",700:"#1e7735",800:"#1d5e2e",900:"#194e28",DEFAULT:"#34c759"};var Ln={50:"#fef1f9",100:"#fee5f6",200:"#fecced",300:"#ffa2df",400:"#fe68c6",500:"#EB2F96",600:"#D42A87",700:"#CB0B6F",800:"#A70D5B",900:"#8B104E",DEFAULT:"#EB2F96"};var En={50:"#faf5ff",100:"#f4e9fe",200:"#ead6fe",300:"#dab6fc",400:"#c487f9",500:"#ab55f3",600:"#9937e6",700:"#8326ca",800:"#6f24a5",900:"#5b1e85",DEFAULT:"#ab55f3"};var Fn={50:"#fff1f2",100:"#ffe1e3",200:"#ffc8cb",300:"#ffa1a6",400:"#fe6b73",500:"#f74e57",600:"#e41e29",700:"#c0151e",800:"#9e161d",900:"#83191f",DEFAULT:"#f74e57"};var Hn={50:"#fffee7",100:"#fffec1",200:"#fff886",300:"#ffec41",400:"#ffdb0d",500:"#ffcc00",600:"#d19500",700:"#a66a02",800:"#89530a",900:"#74430f",DEFAULT:"#ffcc00"};var _n={50:"#fff4ed",100:"#ffe6d5",200:"#fecaaa",300:"#fea473",400:"#fc743b",500:"#fa541c",600:"#eb350b",700:"#c3240b",800:"#9b1e11",900:"#7c1c12",DEFAULT:"#fa541c"};var zn={50:"#FAFAFA",100:"#F5F5F5",200:"#E5E5E5",300:"#D4D4D4",400:"#A3A3A3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",DEFAULT:"#737373"};var Bn={white:"#ffffff",black:"#000000",blue:In,green:An,pink:Ln,purple:En,red:Fn,yellow:Hn,gray:zn,orange:_n};var Ta={...Bn};var Vn={"disabled-opacity":.5,"box-shadow":{small:"0px 0px 5px 0px rgb(0 0 0 / 0.02), 0px 2px 10px 0px rgb(0 0 0 / 0.06), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",medium:"0px 0px 15px 0px rgb(0 0 0 / 0.03), 0px 2px 30px 0px rgb(0 0 0 / 0.08), 0px 0px 1px 0px rgb(0 0 0 / 0.3)",large:"0px 0px 30px 0px rgb(0 0 0 / 0.04), 0px 30px 60px 0px rgb(0 0 0 / 0.12), 0px 0px 1px 0px rgb(0 0 0 / 0.3)"},radius:{none:"0px",sm:"0.125rem",default:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},"z-index":{negative:"-1",workbench:"0",default:"1","workbench-header":"10",modal:"100","modal-content":"101",dropdown:"1000",tooltip:"10000",notification:"100000"},"font-size":{xxs:"0.625rem",xs:"0.75rem",sm:"0.875rem",base:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},"line-height":{xxs:"1rem",xs:"1rem",sm:"1.25rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.25rem","4xl":"2.5rem","5xl":"1","6xl":"1","7xl":"1","8xl":"1","9xl":"1"}};var On={animation:{"accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","spin-loading":"spin 1s steps(12, end) infinite","fade-in":"fade-in 250ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both"},keyframes:{"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}},"fade-in":{"0%":{opacity:"0"},"100%":{opacity:"1"}}}};var zd=e=>{let t={utilities:{},colors:{}},o=Mn(Ta),a=Vn,i=":root";return t.utilities[i]={},Object.entries(o).forEach(([n,s])=>{if(s)try{let[l,f,p]=Hd(s).rgb().array(),c=`--${e}-${n}`;t.utilities[i][c]=`${l} ${f} ${p}`,t.colors[n]=`rgb(var(${c}) / <alpha-value>)`}catch(l){console.log("error",l?.message)}}),Object.entries(a).forEach(([n,s])=>{if(!s)return;let l=`--${e}-${n}`;if(typeof s=="object")Object.entries(s).forEach(([f,p])=>{let c=`${l}-${f}`;t.utilities[i][c]=p});else{let f=l.includes("opacity")&&typeof s=="number"?s?.toString().replace(/^0\./,"."):s;t.utilities[i][l]=f}}),t},Bd=()=>{let e="mobase",t=zd(e);return _d(({addBase:o,addUtilities:a,addComponents:i})=>{i({".wrapper":{maxWidth:"72rem",paddingLeft:"1.25rem",paddingRight:"1.25rem",marginLeft:"auto",marginRight:"auto","@media (min-width: 768px)":{paddingLeft:"2rem",paddingRight:"2rem"}}}),o({":root":{"font-smooth--webkit":"antialiased"},...t?.utilities}),a({...Dn})},{theme:{container:{center:!0},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},extend:{fontFamily:{sans:["-apple-system","BlinkMacSystemFont","Segoe UI","Helvetica","Arial","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"],mono:["SFMono-Regular","Consolas","Liberation Mono","Menlo","monospace"]},colors:{...Ta,...t?.colors,border:"rgba(var(--border))"},boxShadow:{small:`var(--${e}-box-shadow-small)`,medium:`var(--${e}-box-shadow-medium)`,large:`var(--${e}-box-shadow-large)`},borderRadius:{none:`var(--${e}-radius-none)`,sm:`var(--${e}-radius-sm)`,DEFAULT:`var(--${e}-radius-default)`,md:`var(--${e}-radius-md)`,lg:`var(--${e}-radius-lg)`,xl:`var(--${e}-radius-xl)`,"2xl":`var(--${e}-radius-2xl)`,"3xl":`var(--${e}-radius-3xl)`,full:`var(--${e}-radius-full)`},fontSize:{xxs:[`var(--${e}-font-size-xxs)`,`var(--${e}-line-height-xxs)`],xs:[`var(--${e}-font-size-xs)`,`var(--${e}-line-height-xs)`],sm:[`var(--${e}-font-size-sm)`,`var(--${e}-line-height-sm)`],base:[`var(--${e}-font-size-base)`,`var(--${e}-line-height-base)`],lg:[`var(--${e}-font-size-lg)`,`var(--${e}-line-height-lg)`],xl:[`var(--${e}-font-size-xl)`,`var(--${e}-line-height-xl)`],"2xl":[`var(--${e}-font-size-2xl)`,`var(--${e}-line-height-2xl)`],"3xl":[`var(--${e}-font-size-3xl)`,`var(--${e}-line-height-3xl)`],"4xl":[`var(--${e}-font-size-4xl)`,`var(--${e}-line-height-4xl)`],"5xl":[`var(--${e}-font-size-5xl)`,`var(--${e}-line-height-5xl)`],"6xl":[`var(--${e}-font-size-6xl)`,`var(--${e}-line-height-6xl)`],"7xl":[`var(--${e}-font-size-7xl)`,`var(--${e}-line-height-7xl)`],"8xl":[`var(--${e}-font-size-8xl)`,`var(--${e}-line-height-8xl)`],"9xl":[`var(--${e}-font-size-9xl)`,`var(--${e}-line-height-9xl)`]},zIndex:{negative:`var(--${e}-z-index-negative)`,workbench:`var(--${e}-z-index-workbench)`,default:`var(--${e}-z-index-default)`,"workbench-header":`var(--${e}-z-index-workbench-header)`,modal:`var(--${e}-z-index-modal)`,"modal-content":`var(--${e}-z-index-modal-content)`,dropdown:`var(--${e}-z-index-dropdown)`,tooltip:`var(--${e}-z-index-tooltip)`,notification:`var(--${e}-z-index-notification)`},...On}}})};import{Fragment as Od,jsx as N,jsxs as Wd}from"react/jsx-runtime";var Vd=Wd(Od,{children:[N("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"}),N("meta",{name:"distribution",content:"Global"}),N("meta",{name:"author",content:"V\xED MoMo"}),N("meta",{property:"fb:app_id",content:"320653355376196"}),N("meta",{property:"fb:pages",content:"138010322921640"}),N("link",{rel:"shortcut icon",href:"/favicon.ico"}),N("link",{href:"https://www.momo.vn/favicon-32x32.png",rel:"icon",sizes:"32x32",type:"image/png"}),N("link",{href:"https://www.momo.vn/favicon-16x16.png",rel:"icon",sizes:"16x16",type:"image/png"}),N("link",{href:"https://www.momo.vn/apple-touch-icon.png",rel:"apple-touch-icon",sizes:"180x180"}),N("meta",{name:"language",content:"vietnamese"}),N("meta",{name:"copyright",content:"Copyright \xA9 2019 by MOMO.VN"}),N("meta",{name:"REVISIT-AFTER",content:"1 DAYS"}),N("meta",{name:"RATING",content:"GENERAL"}),N("meta",{httpEquiv:"x-dns-prefetch-control",content:"on"}),N("link",{rel:"dns-prefetch",href:"//www.google-analytics.com"}),N("link",{rel:"dns-prefetch",href:"//connect.facebook.net"}),N("link",{rel:"dns-prefetch",href:"//www.googletagservices.com"}),N("link",{rel:"dns-prefetch",href:"//www.googletagmanager.com"}),N("link",{rel:"dns-prefetch",href:"//facebook.com"}),N("link",{rel:"dns-prefetch",href:"//homepage.momocdn.net"}),N("link",{rel:"dns-prefetch",href:"//www.google.com"}),N("link",{rel:"dns-prefetch",href:"//www.google.com.vn"}),N("link",{rel:"dns-prefetch",href:"//www.googleadservices.com"}),N("link",{rel:"preconnect",href:"//connect.facebook.net"}),N("link",{rel:"preconnect",href:"//www.googletagmanager.com"}),N("link",{rel:"preconnect",href:"//www.google-analytics.com"}),N("link",{rel:"preconnect",href:"//googleads.g.doubleclick.net"}),N("link",{rel:"preconnect",href:"//homepage.momocdn.net"}),N("link",{rel:"preconnect",href:"//www.google.com"}),N("link",{rel:"preconnect",href:"//www.google.com.vn"}),N("link",{rel:"preconnect",href:"//www.googleadservices.com"}),N("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:`{
|
|
194
190
|
"@context": "https://schema.org/",
|
|
195
191
|
"@type": "WebSite",
|
|
196
192
|
"@id":"https://www.momo.vn/#website",
|
|
@@ -235,5 +231,5 @@ import*as Pt from"react";import*as ie from"@radix-ui/react-accordion";import{Che
|
|
|
235
231
|
"https://www.linkedin.com/company/momo-mservice/",
|
|
236
232
|
"https://github.com/momo-wallet"
|
|
237
233
|
]
|
|
238
|
-
}`}})]});export{
|
|
234
|
+
}`}})]});export{Xe as Accordion,Ke as AccordionContent,qe as AccordionItem,Ze as AccordionTrigger,Rt as ActionButton,Vs as AlertDialog,ai as AlertDialogAction,ii as AlertDialogCancel,Ya as AlertDialogContent,oi as AlertDialogDescription,ei as AlertDialogFooter,Ja as AlertDialogHeader,_o as AlertDialogOverlay,Ka as AlertDialogPortal,ti as AlertDialogTitle,Os as AlertDialogTrigger,de as AspectRatio,Wm as Badge,Ha as Breadcrumb,Wa as BreadcrumbEllipsis,za as BreadcrumbItem,Ba as BreadcrumbLink,_a as BreadcrumbList,Va as BreadcrumbPage,Oa as BreadcrumbSeparator,ne as Button,Ad as CTASection,Jt as Calendar,Tm as Callout,ji as Card,qi as CardContent,Xi as CardDescription,Zi as CardFooter,Ui as CardHeader,Qi as CardTitle,to as Carousel,oo as CarouselContent,ao as CarouselItem,ro as CarouselNext,io as CarouselPrevious,Kt as Checkbox,ur as ChoiceboxGroup,vr as ChoiceboxGroupItem,br as ChoiceboxMultiItem,wm as Combobox,ym as ComboboxContent,hm as ComboboxTrigger,ra as Command,vm as CommandDialog,Ji as CommandEmpty,er as CommandGroup,Ki as CommandInput,or as CommandItem,Yi as CommandList,tr as CommandSeparator,ar as CommandShortcut,lc as Comment,Bs as DatePicker,Ye as Dialog,qt as DialogBody,es as DialogClose,_e as DialogContent,Ea as DialogDescription,Aa as DialogFooter,Ia as DialogHeader,Lo as DialogOverlay,Ma as DialogPortal,Je as DialogQr,La as DialogTitle,Ao as DialogTrigger,Mc as DropdownMenu,Xr as DropdownMenuCheckboxItem,Ur as DropdownMenuContent,Ac as DropdownMenuGroup,Qr as DropdownMenuItem,Zr as DropdownMenuLabel,Lc as DropdownMenuPortal,Fc as DropdownMenuRadioGroup,qr as DropdownMenuRadioItem,Kr as DropdownMenuSeparator,Yr as DropdownMenuShortcut,Ec as DropdownMenuSub,jr as DropdownMenuSubContent,$r as DropdownMenuSubTrigger,Ic as DropdownMenuTrigger,yd as FAQSection,dd as FeatureSection,fm as Footer,Tc as Form,Or as FormControl,Wr as FormDescription,kc as FormField,Br as FormItem,Vr as FormLabel,Gr as FormMessage,Oi as HeaderNavigation,Vo as Heading,Wo as HeadingGroup,Oo as HeadingSub,Bo as HeadingTagline,od as HeroSection,ga as HorizontalContent,va as HorizontalNext,ua as HorizontalPrevious,fa as HorizontalScroll,ge as IconButton,ma as LightBoxGalleryContent,la as LightboxGallery,_m as LightboxThumbnail,fo as NavigationMenu,xo as NavigationMenuContent,uo as NavigationMenuItem,Ft as NavigationMenuLink,go as NavigationMenuList,bo as NavigationMenuTrigger,kd as NewsSection,si as Pagination,kt as Popover,ft as PopoverContent,St as PopoverTrigger,xc as ProgressSteps,bc as ProgressStepsItem,vc as ProgressStepsItemTrigger,Pr as Progressbar,Ii as RadioGroup,Ai as RadioGroupItem,ca as ReadMoreLite,Lm as SearchBar,Ml as Select,Ni as SelectContent,Al as SelectGroup,Ll as SelectItem,Pi as SelectLabel,aa as SelectScrollDownButton,oa as SelectScrollUpButton,Ci as SelectSeparator,wi as SelectTrigger,Il as SelectValue,Vd as SiteMeta,Rr as Slider,sd as SocialProofSection,hi as Stepper,Si as Switch,It as Tabs,vt as TabsContent,gt as TabsList,ut as TabsTrigger,vd as TestimonialSection,Zs as TextArea,ze as TextButton,wl as TextInput,fi as ToastAction,sl as Toaster,pl as Tooltip,vi as TooltipArrow,bi as TooltipContent,dl as TooltipProvider,fl as TooltipTrigger,hr as badgeVariants,xe as buttonVariants,Bd as mobaseTW,vo as navigationMenuTriggerStyle,ui as textButtonVariants,ci as toast,Ot as useFormField,Uo as useToast};
|
|
239
235
|
//# sourceMappingURL=index.js.map
|