@hhgtech/hhg-components 1.22.36 → 1.22.38-beta-1
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/build/babyGrowth.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/constants.js +1 -1
- package/build/ecom.js +1 -1
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/constants.js +1 -1
- package/build/esm/ecom.js +1 -1
- package/build/esm/footer.js +1 -1
- package/build/esm/gAssets.js +1 -1
- package/build/esm/{getDynamicHealthTool-934d57da.js → getDynamicHealthTool-dd6d7b81.js} +1 -1
- package/build/esm/hooks.js +1 -1
- package/build/esm/{index-de1f275b.js → index-0be2896a.js} +1 -1
- package/build/esm/index-5b17f720.js +1 -0
- package/build/esm/{index-d52522f2.js → index-7302a2b4.js} +1 -1
- package/build/esm/index-79419671.js +1 -0
- package/build/esm/{index-76dd70d7.js → index-b2079ffc.js} +1 -1
- package/build/esm/{index-a0ab19d6.js → index-ed4158e0.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/lead.js +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/pwg.js +1 -1
- package/build/esm/routing-9e0eea48.js +1 -0
- package/build/esm/together.js +1 -1
- package/build/esm/{types-bf9c36e2.js → types-10ee8242.js} +1 -1
- package/build/esm/{types-5364e113.js → types-e7dd4504.js} +1 -1
- package/build/esm/useHealthToolCache-aec96704.js +1 -0
- package/build/footer.js +1 -1
- package/build/gAssets.js +1 -1
- package/build/{getDynamicHealthTool-5062fb37.js → getDynamicHealthTool-fc387469.js} +1 -1
- package/build/hooks.js +1 -1
- package/build/{index-144faad8.js → index-1e6e0d84.js} +1 -1
- package/build/{index-b319c186.js → index-3ff65fe6.js} +1 -1
- package/build/index-6babe908.js +1 -0
- package/build/index-946b63d1.js +1 -0
- package/build/{index-79581d3c.js → index-bc010329.js} +1 -1
- package/build/{index-d196e2fe.js → index-d3a33d5f.js} +1 -1
- package/build/index.js +1 -1
- package/build/lead.js +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/pwg.js +1 -1
- package/build/{routing-b0a69d46.js → routing-5f58f4d6.js} +1 -1
- package/build/together.js +1 -1
- package/build/{types-0fe6faa9.js → types-2df6d726.js} +1 -1
- package/build/{types-5d1afd8a.js → types-94ad0146.js} +1 -1
- package/build/{useHealthToolCache-89577ff3.js → useHealthToolCache-70df52e9.js} +1 -1
- package/package.json +1 -1
- package/build/esm/index-6b05edcf.js +0 -1
- package/build/esm/index-a2dadecd.js +0 -1
- package/build/esm/routing-c3dedeec.js +0 -1
- package/build/esm/useHealthToolCache-9a2e03d1.js +0 -1
- package/build/index-57106a3d.js +0 -1
- package/build/index-a3f3efa9.js +0 -1
- /package/build/esm/{getSocialList-f00a1798.js → getSocialList-be32eead.js} +0 -0
- /package/build/esm/{index-d2154eae.js → index-1b55b479.js} +0 -0
- /package/build/esm/{index-48ae6197.js → index-22e407f0.js} +0 -0
- /package/build/{getSocialList-f2bd1901.js → getSocialList-cae4bd74.js} +0 -0
- /package/build/{index-c751b1f9.js → index-755d82a0.js} +0 -0
- /package/build/{index-27f88a89.js → index-e6d72157.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as n}from"./tslib.es6-79b2df7f.js";import{M as t}from"./utils-0927ef12.js";import e from"styled-components";import o,{memo as a,useMemo as i}from"react";import{CommonGAssets as s}from"./gAssets.js";import{L as l}from"./Locale-0891750a.js";var h,g,r,p=e.div(h||(h=n(["\n position: relative;\n display: inline-flex;\n align-items: center;\n z-index: 1;\n .main-logo-icon {\n object-fit: contain;\n }\n &[data-logo-is-light] {\n > svg path {\n fill: #fff;\n }\n }\n\n &[data-has-badge] {\n @supports (display: flex) and (gap: 1em) {\n gap: 0.5rem;\n }\n\n @supports not ((display: flex) and (gap: 1em)) {\n > img,\n amp-image {\n margin-left: 0.25rem;\n }\n }\n }\n\n .amp-logo img {\n object-fit: contain;\n }\n .common-logo-seasonal-left,\n .common-logo-seasonal-right {\n z-index: -1;\n }\n .common-logo-seasonal-left {\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n }\n .common-logo-seasonal-right {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n }\n &[data-christmas='true'] {\n padding-left: 37px;\n padding-right: 22px;\n .common-logo-seasonal-left {\n width: 125px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 23px;\n height: 17px;\n }\n }\n &[data-new-year='true'] {\n padding-right: 85px;\n .common-logo-seasonal-left {\n top: 35%;\n width: 100px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 85px;\n height: 54px;\n }\n "," {\n padding-right: 0;\n .common-logo-seasonal-right {\n display: none;\n }\n }\n }\n &[data-lunar-new-year='true'] {\n padding-left: 30px;\n padding-right: 35px;\n .common-logo-seasonal-left {\n width: 33px;\n height: 41px;\n }\n .common-logo-seasonal-right {\n width: 37px;\n height: 54px;\n }\n }\n"],["\n position: relative;\n display: inline-flex;\n align-items: center;\n z-index: 1;\n .main-logo-icon {\n object-fit: contain;\n }\n &[data-logo-is-light] {\n > svg path {\n fill: #fff;\n }\n }\n\n &[data-has-badge] {\n @supports (display: flex) and (gap: 1em) {\n gap: 0.5rem;\n }\n\n @supports not ((display: flex) and (gap: 1em)) {\n > img,\n amp-image {\n margin-left: 0.25rem;\n }\n }\n }\n\n .amp-logo img {\n object-fit: contain;\n }\n .common-logo-seasonal-left,\n .common-logo-seasonal-right {\n z-index: -1;\n }\n .common-logo-seasonal-left {\n position: absolute;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n }\n .common-logo-seasonal-right {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n }\n &[data-christmas='true'] {\n padding-left: 37px;\n padding-right: 22px;\n .common-logo-seasonal-left {\n width: 125px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 23px;\n height: 17px;\n }\n }\n &[data-new-year='true'] {\n padding-right: 85px;\n .common-logo-seasonal-left {\n top: 35%;\n width: 100px;\n height: 56px;\n }\n .common-logo-seasonal-right {\n width: 85px;\n height: 54px;\n }\n "," {\n padding-right: 0;\n .common-logo-seasonal-right {\n display: none;\n }\n }\n }\n &[data-lunar-new-year='true'] {\n padding-left: 30px;\n padding-right: 35px;\n .common-logo-seasonal-left {\n width: 33px;\n height: 41px;\n }\n .common-logo-seasonal-right {\n width: 37px;\n height: 54px;\n }\n }\n"])),t.mbDown),m=e.img(g||(g=n(["\n height: 16px;\n width: unset;\n margin-bottom: 4px;\n margin-left: -3px;\n"],["\n height: 16px;\n width: unset;\n margin-bottom: 4px;\n margin-left: -3px;\n"]))),d=a((function(n){var t=n.type,e=n.width,a=n.height,l=i((function(){switch(t){case"hellobacsi":return{width:e||"107px",height:a||"24px",src:s.getAssetPath("logo/hellobacsi.png")};case"hellodoktor":return{width:e||"127px",height:a||"24px",src:s.getAssetPath("logo/hellodoktor.png")};case"hellosehat":return{width:e||"121px",height:a||"27px",src:s.getAssetPath("logo/hellosehat.png")};case"hellohealth":return{width:e||"123px",height:a||"24px",src:s.getAssetPath("logo/hellohealth.png")};case"hellotogether":return{width:e||"150px",height:a||"24px",src:s.getAssetPath("logo/hellotogether.png")};case"hellocare":return{width:e||"99px",height:a||"24px",src:s.getAssetPath("logo/hellocare.png")};case"hellodoctor":return{width:e||"127px",height:a||"24px",src:s.getAssetPath("logo/hellodoctor.png")};case"hellokrupet":return{width:e||"101px",height:a||"24px",src:s.getAssetPath("logo/hellokrupet.png")};case"hellosayarwon":return{width:e||"111px",height:a||"24px",src:s.getAssetPath("logo/hellosayarwon.png")};case"helloyishi":return{width:e||"89px",height:a||"24px",src:s.getAssetPath("logo/helloyishi.png")};case"hellokhunmor":return{width:e||"123px",height:a||"24px",src:s.getAssetPath("logo/hellokhunmor.png")};case"helloswasthya":return{width:e||"105px",height:a||"24px",src:s.getAssetPath("logo/helloswasthya.png")};case"logomark":return{width:e||"60px",height:a||"57px",src:s.getAssetPath("logo/logomark.png")};case"marryBaby":return{width:e||"145px",height:a||"28px",src:s.getAssetPath("logo/marrybaby.png")};default:return null}}),[t,e,a])||{},h=l.src,g=l.width,r=l.height;return o.createElement("img",{className:"main-logo-icon",src:h,style:{width:g,height:r}})})),c=function(n){var t=n.getDate();return 11===n.getMonth()&&t>=16&&t<=25},x={2023:[22,0],2024:[10,1],2025:[29,0],2026:[17,1],2027:[6,1],2028:[26,0],2029:[13,1],2030:[3,1],2031:[23,0],2032:[11,1],2033:[31,0],2034:[19,1],2035:[8,1],2036:[28,0],2037:[15,1],2038:[4,1],2039:[24,0],2040:[12,1]},f=[l.Vietnam,l.Taiwan,l.Indonesia,l.Malaysia],u=function(n){var t=n.getFullYear(),e=x[t];if(!e)return!1;var o=new Date(t,e[1],e[0]),a=new Date(o);a.setDate(o.getDate()-7);var i=new Date(o);return i.setDate(o.getDate()+5),a<=n&&n<=i},w=function(n){var t=n.getDate(),e=n.getMonth();return 11===e&&t>=26||0===e&&t<=15},y=e.div(r||(r=n(["\n width: 100%;\n margin: 0 auto;\n "," {\n padding: 0 16px;\n }\n "," {\n max-width: 1170px;\n &[data-type='marryBaby'] {\n max-width: 1064px;\n }\n }\n"],["\n width: 100%;\n margin: 0 auto;\n "," {\n padding: 0 16px;\n }\n "," {\n max-width: 1170px;\n &[data-type='marryBaby'] {\n max-width: 1064px;\n }\n }\n"])),t.mbDown,t.tdUp),b=function(n){var t=n.children,e=n.className,a=n.style,i=n.type;return o.createElement(y,{className:e,style:a,"data-type":i},t)};export{b as C,f as L,p as S,u as a,w as b,d as c,m as d,c as i};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as t}from"./index-de1f275b.js";import{i as o}from"./isProduction-bb1a1642.js";var c=function(c,n){var a="development"===process.env.NEXT_PUBLIC_DEPLOY_ENV;return a?"http://localhost:3000":"https://".concat(!a&&!o?n?"fe.":"discover.":n?"www.":"").concat(t[n?"vi-VN_MB":c])},n=function(c,n){return"https://".concat(o?"id.":"staging-id.").concat(t[n?"vi-VN_MB":c])},a=function(){return"https://".concat(o?"together.":"staging-together.","hellohealthgroup.com")},e=function(c){return"https://".concat(o?"wp.":"staging.").concat(t[c])},r=function(){return"https://".concat(o?"health-care.":"service-health-care.","hellohealthgroup.com")};export{n as a,a as b,e as c,r as d,c as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as t,e as r}from"./tslib.es6-79b2df7f.js";import{useState as n,useEffect as o,useCallback as i}from"react";import{a}from"./getDynamicHealthTool-934d57da.js";var e=function(e){var l=n([]),s=l[0],u=l[1];o((function(){t(void 0,void 0,void 0,(function(){var t;return r(this,(function(r){switch(r.label){case 0:return[4,a(e)];case 1:return t=r.sent(),u(t),[2]}}))}))}),[a,e]);var f=i((function(t){var r;return(null===(r=s.find((function(r){return r.template===t})))||void 0===r?void 0:r.link)||""}),[s]);return{allTools:s,getHealthToolLink:f}};export{e as u};
|