PageSourceSearch

https://hyemanuk.org/_next/static/chunks/pages/contact-us-a80bcee7ddbfb391.js

js hyemanuk.org collected 2026-10-02 02:04:40 UTC 12,631 bytes, 51 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8455],{8078:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var i=n(3366),a=n(7462),s=n(7294),r=n(6010),o=n(917),l=n(4780),d=n(1796),c=n(948),x=n(1657),p=n(1588),u=n(4867);function m(e){return(0,u.Z)("MuiSkeleton",e)}(0,p.Z)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var h=n(5893);let g=["animation","className","component","height","style","variant","width"],b=e=>e,f,w,v,j,Z=e=>{let{classes:t,variant:n,animation:i,hasChildren:a,width:s,height:r}=e;return(0,l.Z)({root:["root",n,i,a&&"withChildren",a&&!s&&"fitContent",a&&!r&&"heightAuto"]},m,t)},k=(0,o.F4)(f||(f=b`
2  0% {
3    opacity: 1;
4  }
5
6  50% {
7    opacity: 0.4;
8  }
9
10  100% {
11    opacity: 1;
12  }
13`)),y=(0,o.F4)(w||(w=b`
14  0% {
15    transform: translateX(-100%);
16  }
17
18  50% {
19    /* +0.5s of delay between each loop */
20    transform: translateX(100%);
21  }
22
23  100% {
24    transform: translateX(100%);
25  }
26`)),C=(0,c.ZP)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!1!==n.animation&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})(({theme:e,ownerState:t})=>{let n=String(e.shape.borderRadius).match(/[\d.\-+]*\s*(.*)/)[1]||"px",i=parseFloat(e.shape.borderRadius);return(0,a.Z)({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:(0,d.Fq)(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em"},"text"===t.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${i}${n}/${Math.round(i/.6*10)/10}${n}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===t.variant&&{borderRadius:"50%"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})},({ownerState:e})=>"pulse"===e.animation&&(0,o.iv)(v||(v=b`
27      animation: ${0} 1.5s ease-in-out 0.5s infinite;
28    `),k),({ownerState:e,theme:t})=>"wave"===e.animation&&(0,o.iv)(j||(j=b`
29      position: relative;
30      overflow: hidden;
31
32      /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
33      -webkit-mask-image: -webkit-radial-gradient(white, black);
34
35      &::after {
36        animation: ${0} 1.6s linear 0.5s infinite;
37        background: linear-gradient(
38          90deg,
39          transparent,
40          ${0},
41          transparent
42        );
43        content: '';
44        position: absolute;
45        transform: translateX(-100%); /* Avoid flash during server-side hydration */
46        bottom: 0;
47        left: 0;
48        right: 0;
49        top: 0;
50      }
51    `),y,(t.vars||t).palette.action.hover)),_=s.forwardRef(function(e,t){let n=(0,x.Z)({props:e,name:"MuiSkeleton"}),{animation:s="pulse",className:o,component:l="span",height:d,style:c,variant:p="text",width:u}=n,m=(0,i.Z)(n,g),b=(0,a.Z)({},n,{animation:s,component:l,variant:p,hasChildren:!!m.children}),f=Z(b);return(0,h.jsx)(C,(0,a.Z)({as:l,ref:t,className:(0,r.Z)(f.root,o),ownerState:b},m,{style:(0,a.Z)({width:u,height:d},c)}))});var S=_},7794:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/contact-us",function(){return n(2241)}])},1121:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(5893),a=n(6886),s=n(5861),r=n(5156),o=n.n(r);function l(e){let{title:t,dataTestId:n}=e;return(0,i.jsxs)(a.ZP,{container:!0,direction:"column",justifyContent:"center",alignItems:"center",rowGap:"24px","data-test-id":n||null,children:[(0,i.jsx)(a.ZP,{item:!0,sx:{width:"32px",height:"4px",borderRadius:"2px",backgroundColor:o()["colors-primary"]}}),(0,i.jsx)(s.Z,{variant:"h3",sx:e=>({color:o()["colors-secondary"],fontWeight:700,fontSize:{xs:"24px",sm:"40px"},lineHeight:{xs:"36px",sm:"48px"},textAlign:"center",maxWidth:{xs:"310px",sm:"700px",md:"unset"},[e.breakpoints.between(376,630)]:{fontSize:"24px",lineHeight:"36px",maxWidth:"310px"}}),children:t})]})}},6094:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var i=n(5893),a=n(5675),s=n.n(a),r=n(1163),o=n(1649),l=n(6886),d=n(5861),c=n(8078),x=n(5156),p=n.n(x),u=n(6789),m=n(1774),h=n(1212),g=n(4696),b=n(3227),f=n(8772);function w(e){let{imageUrl:t,text:n,addButton:a=!1,maxWidth:x=null,isLocal:w=!1,name:v}=e,{ref:j,loaded:Z,onLoad:k}=(0,u.Z)(),y=(0,r.useRouter)(),C=(0,o.v9)(b.Q7),{t:_}=(0,f.$G)("common");return(0,i.jsxs)(l.ZP,{container:!0,alignItems:"center",sx:e=>({width:"100%",position:"relative",height:{xs:"156px",sm:"200px",md:"300px"},[e.breakpoints.between(376,680)]:{minHeight:"auto",width:"auto",height:"156px"},[e.breakpoints.between(769,1e3)]:{minHeight:"auto",width:"auto"}}),"data-test-id":"headerBlock",children:[(0,i.jsx)(l.ZP,{sx:{zIndex:1,position:"absolute",height:"100%",width:"100%",background:"linear-gradient(90deg, rgba(255, 255, 255, 0.50) 39.82%, rgba(255, 255, 255, 0.00) 100%)"}}),(0,i.jsx)(s(),{fill:!0,style:{objectFit:"cover"},src:w?t:(0,g.t)(t),alt:v,loading:"lazy",ref:j,onLoadingComplete:k,sizes:"100vw",priority:!1}),(0,i.jsxs)(l.ZP,{container:!0,direction:"column",sx:e=>({position:"relative",zIndex:1,alignItems:{xs:a?"center":"start",sm:"start"},[e.breakpoints.between(376,630)]:{alignItems:a?"center":"start"}}),children:[(0,i.jsx)(l.ZP,{item:!0,children:(0,i.jsx)(d.Z,{variant:"h2",sx:e=>({color:p()["colors-secondary"],fontWeight:700,fontSize:{xs:"24px",sm:"48px",md:"64px"},lineHeight:{xs:"36px",sm:"64px",md:"86px"},marginLeft:{xs:"16px",md:"42px",lg:"72px"},textAlign:"start",maxWidth:{xs:"300px",sm:"unset",md:x||"unset"},[e.breakpoints.between(376,695)]:{fontSize:"24px",lineHeight:"36px",marginLeft:"16
51px"},[e.breakpoints.between(769,980)]:{fontSize:"48px",lineHeight:"64px"}}),dangerouslySetInnerHTML:{__html:n},"data-test-id":"headerBlockTitleTxt"})}),a&&!C.token&&(0,i.jsx)(l.ZP,{item:!0,sx:e=>({marginLeft:{xs:"unset",md:"42px",lg:"72px"},marginTop:{xs:"16px",sm:"24px",md:"48px"},padding:{xs:"0 16px",sm:"unset"},width:{xs:"100%",sm:"unset"},[e.breakpoints.between(376,630)]:{marginLeft:"unset",marginTop:"16px",padding:"0 16px",width:"100%"}}),children:(0,i.jsx)(m.Z,{title:_("buttons.register"),iconName:"basket",buttonType:"button",onClick:()=>y.push(h.Z.BeneficiariesRegistration.path)})})]}),!Z&&(0,i.jsx)(c.Z,{variant:"rectangular",width:"100%",height:"100%",sx:{bgcolor:p()["colors-secondary"],opacity:"0.2",position:"absolute",left:"0",top:"0",zIndex:"1"}})]})}},6789:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(7294);function a(){let[e,t]=(0,i.useState)(!1),n=(0,i.useRef)(null),a=()=>{t(!0)};return(0,i.useEffect)(()=>{n.current&&n.current.complete&&a()},[]),{ref:n,loaded:e,onLoad:a}}},2241:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return M},default:function(){return F}});var i=n(5893),a=n(1163),s=n(9008),r=n.n(s),o=n(3e3),l=n(6094),d=n(6886),c=n(1121),x=n(6436),p=n(9546);function u(e){let{data:t}=e;return(0,i.jsx)(d.ZP,{item:!0,children:(0,i.jsxs)(d.ZP,{container:!0,rowGap:" 56px",children:[(0,i.jsxs)(d.ZP,{container:!0,sx:e=>({maxWidth:{xs:"100%",md:"504px"},rowGap:{xs:"48px",sm:"56px",md:"58px"},columnGap:"100px",[e.breakpoints.between(376,630)]:{rowGap:"48px"},[e.breakpoints.between(769,1200)]:{maxWidth:"100%"}}),children:[(0,i.jsx)(p.Z,{name:"pin",label:t.addressARM,isFromContactUs:!0,address:"ARM"}),(0,i.jsx)(p.Z,{name:"pin",label:t.addressUSA,isFromContactUs:!0,address:"USA"}),(0,i.jsx)(p.Z,{name:"phone",label:t.phone1,label1:t.phone2,label2:t.phone3,isFromContactUs:!0}),(0,i.jsx)(p.Z,{name:"mail",label:t.email,isFromContactUs:!0})]}),(0,i.jsx)(x.Z,{isFromContactUs:!0})]})})}var m=n(1145),h=n.n(m),g=n(7294),b=n(3362),f=n(7598),w=n(5156),v=n.n(w),j=n(1774),Z=n(7536),k=n(4416),y=n(7978);let C=async e=>(0,y.Ww)().post("/api/send-contact-us-email",e);var _=n(8772),S=n(435),P=n(4853),R=n(3356),A=(0,g.memo)(function(){var e,t;let n=(0,g.useRef)(),{t:a}=(0,_.$G)("common"),{register:s,handleSubmit:r,reset:o,formState:{errors:l}}=(0,Z.cI)(),[c,x]=(0,g.useState)(!1),p=async e=>{var t,i,s,r,l,d,c;x(!0);let p=await (null==n?void 0:null===(t=n.current)||void 0===t?void 0:t.executeAsync());try{let{data:t}=await (0,R.Sw)(p);"OK"===t&&await C(e),(0,k.H)({msg:a("messages.sent"),status:"success"}),o(),x(!1)}catch(e){if(null==e?void 0:null===(r=e.response)||void 0===r?void 0:null===(s=r.data)||void 0===s?void 0:null===(i=s.error)||void 0===i?void 0:i.message){let t=null==e?void 0:null===(c=e.response)||void 0===c?void 0:null===(d=c.data)||void 0===d?void 0:null===(l=d.error)||void 0===l?void 0:l.message;(0,k.H)({msg:a("errorMessages.".concat(t)).startsWith("errorMessages")?t:a("errorMessages.".concat(t)),status:"error"})}else(0,k.H)({msg:a("errorMessages.WENT_WRONG"),status:"error"});x(!1)}};return(0,i.jsx)(d.ZP,{item:!0,children:(0,i.jsx)(d.ZP,{container:!0,justifyContent:"center",sx:e=>({width:{xs:"100%",sm:"717px",md:"543px"},backgroundColor:v()["colors-light"],height:"496px",borderRadius:{xs:"unset",sm:"10px"},boxShadow:{xs:"unset",sm:"0px 4px 25px 0px rgba(11, 37, 50, 0.15)"},padding:{xs:"unset",sm:"48px 16px"},[e.breakpoints.between(376,700)]:{padding:"unset",width:"100%",boxShadow:"unset",borderRadius:"unset"},[e.breakpoints.between(769,1100)]:{width:"717px"}}),children:(0,i.jsx)(d.ZP,{item:!0,children:(0,i.jsxs)("form",{onSubmit:r(p),noValidate:!0,children:[(0,i.jsx)(P.Z,{ref:n,size:"invisible",sitekey:"6LcVxc4nAAAAAH_lBQBOupzq5NQSoBh_PpfkKOyR",onChange:e=>{var t;e&&(null==n||null===(t=n.current)||void 0===t||t.reset())}}),(0,i.jsx)(d.ZP,{item:!0,children:(0,i.jsxs)(d.ZP,{container:!0,alignItems:"baseline",justifyContent:"center",rowGap:"24px",sx:e=>({maxWidth:{xs:"100%",sm:"343px"},[e.breakpoints.between(376,700)]:{maxWidth:"100%"}}),children:[(0,i.jsx)(b.Z,{placeholder:"".concat(a("contactUs.name"),"*"),...s("name",{required:a("validationMessages.name")}
51),error:!!l.name,helperText:null===(e=l.name)||void 0===e?void 0:e.message,fullWidth:!0}),(0,i.jsx)(b.Z,{type:"email",placeholder:"".concat(a("contactUs.email"),"*"),...s("email",{required:a("validationMessages.email"),validate:{matchPattern:e=>S.H.test(e)||a("validationMessages.emailValid")}}),error:!!l.email,helperText:null===(t=l.email)||void 0===t?void 0:t.message,fullWidth:!0}),(0,i.jsx)(d.ZP,{sx:e=>({width:{xs:"100%",sm:"343px"},[e.breakpoints.between(376,700)]:{width:"100%"}}),height:"168px",children:(0,i.jsx)(f.Z,{placeholder:"".concat(a("contactUs.message"),"*"),className:"textArea ".concat(h().className),...s("description")})}),(0,i.jsx)(d.ZP,{item:!0,sx:{width:"139px",marginTop:"8px"},children:(0,i.jsx)(j.Z,{title:a("buttons.send"),iconName:"send",hasBorder:!0,buttonType:"submit",onClick:()=>{},disabled:c})})]})})]})})})})});function W(e){let{data:t}=e;return(0,i.jsxs)(d.ZP,{container:!0,justifyContent:"center",sx:e=>({margin:{xs:"64px 0 0 0",sm:"96px 0 0 0",md:"156px 0 0 0"},[e.breakpoints.between(376,630)]:{margin:"64px 0 0 0",padding:"0 16px"},[e.breakpoints.between(769,1100)]:{margin:"96px 0 0 0"},padding:{xs:"0 16px",sm:"0 24px"}}),children:[(0,i.jsx)(c.Z,{title:t.title}),(0,i.jsxs)(d.ZP,{container:!0,alignItems:"center",sx:e=>({maxWidth:"1142px",flexWrap:{xs:"wrap",md:"nowrap"},marginTop:{xs:"40px",sm:"48px",md:"64px"},columnGap:{md:"69px",lg:"96px"},rowGap:{xs:"64px",sm:"96px"},justifyContent:{xs:"center",md:"space-between"},[e.breakpoints.between(376,630)]:{marginTop:"40px",justifyContent:"center",rowGap:"64px"},[e.breakpoints.between(769,1200)]:{flexWrap:"wrap",justifyContent:"center"}}),children:[(0,i.jsx)(u,{data:t}),(0,i.jsx)(A,{})]})]})}function N(e){let{data:t}=e;return(0,i.jsx)(d.ZP,{container:!0,justifyContent:"center",children:(0,i.jsx)(W,{data:t})})}var T=n(1212),M=!0;function F(e){let{contactUsData:t}=e,n=(0,a.useRouter)(),{t:s}=(0,_.$G)("common");if(t.statusCode){n.push(T.Z.Home.path);return}let o=t.data.data.attributes,d=o.header;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r(),{children:(0,i.jsx)("title",{children:s("layout.contactUs")})}),(0,i.jsx)(l.Z,{imageUrl:d.backgroundImage.data.attributes.url,text:d.title,name:d.backgroundImage.data.attributes.name}),(0,i.jsx)(N,{data:o})]})}F.getLayout=function(e){return(0,i.jsx)(o.Z,{children:e})}},4696:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});let i=e=>"https://api.hyemanuk.org"+e},1145:function(e){e.exports={style:{fontFamily:"'__montserratArm_64487c', '__montserratArm_Fallback_64487c'"},className:"__className_64487c"}}},function(e){e.O(0,[898,3818,7102,6022,7115,8639,638,9774,2888,179],function(){return e(e.s=7794)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.