PageSourceSearch

https://www.thehemera.com/_next/static/chunks/app/about-us/page-1c5a06ad3e2aa812.js

js thehemera.com collected 2026-10-06 13:44:33 UTC 4,037 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[554],{1540:function(e,t,r){Promise.resolve().then(r.t.bind(r,8173,23)),Promise.resolve().then(r.t.bind(r,231,23)),Promise.resolve().then(r.bind(r,7620))},7620:function(e,t,r){"use strict";r.d(t,{default:function(){return u}});var n=r(7437),s=r(2265),i=r(9286),o=r.n(i),a=r(1582),l=r(9733),d=r(7209);function u(){let[e,t]=(0,s.useState)(""),[r,i]=(0,s.useState)(!1),[u,c]=(0,s.useState)(!1),[f,m]=(0,s.useState)(!1),h=async()=>{m(!0);try{(await fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e})})).ok&&c(!0)}finally{m(!1)}};return(0,n.jsxs)("div",{className:"flex-start-stretch flex-col  md:flex-between-center md:flex-row gap-y-6",children:[(0,n.jsxs)("div",{className:"space-y-2 flex-1",children:[(0,n.jsx)("div",{className:" text-lg md:text-2xl font-semibold",children:"Subscribe to Our Newsletter!"}),(0,n.jsx)("div",{className:" text-xs md:text-base font-light",children:"Stay in the loop with our latest news and updates."})]}),(0,n.jsxs)("div",{className:" flex-1 flex-start-center gap-4 flex-col md:flex-row",children:[(0,n.jsx)(d.I,{type:"email",placeholder:"Email",className:"h-10 min-h-10 md:h-14 md:min-h-14 text-[#fff] border-white flex-1",value:e,onChange:e=>{let r=e.target.value;t(r),i(o().isEmail(r))}}),(0,n.jsxs)(l.z,{className:"h-10 md:h-14 w-full  md:w-[200px] transition-all",variant:"secondary",disabled:!r||u||f,onClick:()=>h(),children:[f?"Subscribing...":u?"Subscribed":"Subscribe",(0,n.jsx)(a.Z,{className:"ml-2"})]})]})]})}},1582:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(7437),s=r(9354);function i(e){let{className:t}=e;return(0,n.jsx)("svg",{className:(0,s.cn)(t),width:"1em",height:"1em",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M21 11L11 5.2265V16.7735L21 11ZM1 12H12V10H1V12Z",fill:"currentColor"})})}},9733:function(e,t,r){"use strict";r.d(t,{z:function(){return d}});var n=r(7437),s=r(1538),i=r(2218),o=r(2265),a=r(9354);let l=(0,i.j)("inline-flex items-center justify-center whitespace-nowrap rounded-lg text-base md:text-xl font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground button-hover-background",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary border border-primary text-primary hover:bg-[#131F31]",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-5 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 md:h-14 rounded-md px-5 md:px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=o.forwardRef((e,t)=>{let{className:r,variant:i,size:o,asChild:d=!1,...u}=e,c=d?s.g7:"button";return(0,n.jsx)(c,{className:(0,a.cn)(l({variant:i,size:o,className:r})),ref:t,...u})});d.displayName="Button"},7209:function(e,t,r){"use strict";r.d(t,{I:function(){return o}});var n=r(7437),s=r(2265),i=r(9354);let o=s.forwardRef((e,t)=>{let{className:r,type:s,...o}=e;return(0,n.jsx)("input",{type:s,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...o})});o.displayName="Input"},9354:function(e,t,r){"use strict";r.d(t,{cn:function(){return i}});var n=r(4839),s=r(6164);function i(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.m6)((0,n.W)(t))}}},function(e){e.O(0,[868,231,900,286,971,23,744],function(){return e(e.s=1540)}),_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.