PageSourceSearch

https://therealfeel.ai/_next/static/chunks/7672-97f9a0efe2584f08.js

js therealfeel.ai collected 2026-10-05 12:48:57 UTC 10,719 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7672],{41942:(e,a,t)=>{function n(e){let{userType:a,value:t,currency:n="USD"}=e;if("undefined"==window.dataLayer)return void console.log("GTM datalayer not found");window.dataLayer.push({event:"begin_checkout",user_type:a,ecommerce:{value:t,currency:n}})}function l(e){let{status:a,userType:t,transactionId:n,value:l,paymentMethod:o,errorMessage:s,currency:r="USD"}=e;if(void 0===window.dataLayer)return void console.log("GTM dataLayer not found.");window.dataLayer.push({event:"purchase",user_type:t,purchase_status:a,payment_method:o,error_message:"failed"===a?s:void 0,ecommerce:{transaction_id:n,value:l,currency:r}})}function o(e,a,t,n,l,o){if("undefined"===window.dataLayer)return void console.log("GTM dataLayer not found");window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"cta_click",cta_name:e,cta_location:a,link_url:t,link_text:n,description:l,note:o||""})}function s(e,a){if("undefined"===window.dataLayer)return void console.log("GTM dataLayer not found");window.dataLayer.push({event:e,Description:a})}function r(){if("undefined"===window.dataLayer)return void console.log("GTM dataLayer not found");window.dataLayer.push({event:"contact_success"})}t.d(a,{Xm:()=>o,ml:()=>s,uu:()=>r,xK:()=>l,xS:()=>n})},47672:(e,a,t)=>{t.d(a,{A:()=>v});var n=t(37876),l=t(14232);let o=e=>{let{label:a,name:t,placeholder:l,value:o,onChange:s,emailError:r,type:i}=e,c=e=>{s&&s(e)};return(0,n.jsxs)("div",{className:"flex flex-col items-start gap-2 self-stretch",children:[(0,n.jsx)("label",{className:"flex-2 text-base not-italic font-Golos font-bold leading-5 text-black-700",children:a}),"message"===t?(0,n.jsx)("textarea",{name:t,value:o,type:i,className:"flex h-[60px] md:h-[84px] py-2 px-4 items-center self-stretch rounded-sm border border-solid border-black-300 bg-black-0 focus:outline-none focus:bg-green-50 resize-none",placeholder:l||"",onChange:c}):(0,n.jsxs)("div",{className:"w-full flex flex-col gap-1",children:[(0,n.jsx)("input",{name:t,value:o,type:i,className:"w-full flex h-12 py-2 px-4 items-center self-stretch rounded-sm border border-solid border-black-300 bg-black-0 focus:outline-none focus:bg-green-50 ".concat(r&&"email"===i?"bg-red-50 border border-red-400":""),placeholder:l||"",onChange:c}),r&&"email"===i&&(0,n.jsx)("p",{className:"text-red-400 ml-1",children:r})]})]})},s=e=>{let{content:a}=e;return(0,n.jsx)("h3",{className:"text-2xl font-Golos font-bold leading-7 text-black-700 self-stretch",children:a})},r=e=>{let{content:a,disableButton:t,onClick:l}=e;return(0,n.jsx)("button",{onClick:l,disabled:t,className:"flex h-12 md:h-14 justify-center text-black-0 font-Golos leading-5 font-bold not-italic text-base items-center self-stretch gap-2 rounded-sm bg-green-700 ".concat(t&&"opacity-40"),children:a})};var i=t(24006),c=t(41709),d=t(29197),u=t(54587),p=t.n(u);function m(e){let{isConfirmation:a,setIsConfirmation:t}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(i.e,{appear:!0,show:a,as:l.Fragment,children:(0,n.jsxs)(c.l,{as:"div",className:"relative z-10",onClose:()=>null,children:[(0,n.jsx)(i.e.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,n.jsx)("div",{className:"fixed inset-0 bg-black/25"})}),(0,n.jsx)("div",{className:"fixed inset-0 overflow-y-auto",children:(0,n.jsx)("div",{className:"flex min-h-full items-center justify-center p-4 text-center bg-black-900 bg-opacity-80",children:(0,n.jsx)(i.e.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,n.jsxs)(c.l.Panel,{className:"flex relative flex-col text-left shrink-0 w-full sm:w-[420px] h-auto gap-6 rounded-xl bg-black-0 px-8 pb-8 pt-12",children:[(0,n.jsx)("div",{className:"absolute top-0 right-0 mt-4 mr-4",children:(0,n.jsx)(p(),{onClick:function(){t(!1)},className:"h-[14px] w-[14px] cursor-pointer",src:d.A,alt:"Vector"})}),(0,n.jsx)(s,{content:"Message sent!"}),(0,n.jsx)("div",{className:"text-sm font-Golos text-black-700 font-normal flex align-center",children:"We’ll get back to you."})]})})})})]})})})}function h(e){let{children:a,isContact:t,setIsContact:o,dispatch:s}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(i.e,{appear:!0,show:t,as:l.Fragment,children:(0,n.jsxs)(c.l,{as:"div",className:"relative z-10",onClose:()=>null,children:[(0,n.jsx)(i.e.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,n.jsx)("div",{className:"fixed inset-0 bg-black/25"})}),(0,n.jsx)("div",{className:"fixed inset-0 overflow-y-auto",children:(0,n.jsx)("div",{className:"flex min-h-full items-center justify-center p-4 text-center bg-black-900 bg-opacity-80",children:(0,n.jsx)(i.e.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,n.jsxs)(c.l.Panel,{className:"flex relative flex-col text-left shrink-0 w-full sm:w-[588px] h-auto gap-6 rounded-sm bg-black-0 px-8 pb-8 pt-12",children:[(0,n.jsx)("div",{className:"absolute top-0 right-0 mt-4 mr-4",children:(0,n.jsx)(p(),{onClick:function(){o(!1),s({type:"CLOSE_CONTACT"})}
1,className:"h-[14px] w-[14px] cursor-pointer",src:d.A,alt:"Vector"})}),a]})})})})]})})})}var y=t(40097),f=t(81562);let x=[{label:"Name",name:"name",type:"text",placeholder:"First name, last name"},{label:"Email",name:"email",type:"email",placeholder:"Enter your email"},{label:"Message",name:"message",type:"text",placeholder:"Enter your Message"}];var b=t(41942);let g={name:"",email:"",message:"",emailError:"",reply:!1};function v(e){let{children:a,isContact:t,setIsContact:i,heading:c=null,handleSubmitContactForm:d=null}=e,[u,p]=(0,l.useState)(!1),[v,w]=(0,l.useState)(!1),[j,C]=(0,l.useReducer)(function(e,a){switch(a.type){case"SET_NAME":return{...e,name:a.payload};case"SET_EMAIL":return{...e,email:a.payload};case"SET_MESSAGE":return{...e,message:a.payload};case"SET_REPLY":return{...e,reply:a.payload};case"SET_EMAIL_ERROR":return{...e,emailError:a.payload};default:return g}},g),{mutateAsync:E,isLoading:_}=(0,y.n)({mutationFn:d||f.NY,onSuccess:(e,a,t)=>{C({type:"CLOSE_CONTACT"}),w(!0),i(!1),(0,b.uu)(),console.log("contactFormSuccess")},onError:(e,a,t)=>{console.error(e)}}),N=()=>j.email.match(/^[^\s@]+@[^\s@]+\.[^\s@]+$/)?(C({type:"SET_EMAIL_ERROR",payload:""}),!0):(C({type:"SET_EMAIL_ERROR",payload:"Inavlid Email"}),!1),k=async()=>{if(N()){p(!0);try{if(d){let e={customerEmail:j.email,customerName:j.name,inquiryDetails:j.message};await E(e),p(!1)}else await E(j),p(!1)}catch(e){console.error(e),p(!1)}}},L=e=>{let{name:a,value:t,type:n,checked:l}=e.target;"checkbox"===n?C({type:"SET_".concat(a.toUpperCase()),payload:l}):C({type:"SET_".concat(a.toUpperCase()),payload:t})};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(h,{isContact:t,setIsContact:i,dispatch:C,children:[(0,n.jsx)(s,{content:c||"Get in touch!"}),(null==x?void 0:x.length)&&(null==x?void 0:x.map((e,a)=>(0,n.jsx)(o,{onChange:L,value:null==j?void 0:j[e.name],label:e.label,name:e.name,type:e.type,placeholder:e.placeholder,emailError:null==j?void 0:j.emailError},a))),(0,n.jsx)(r,{content:!0==u?(0,n.jsx)(()=>(0,n.jsxs)("svg",{className:"animate-spin h-7 w-7",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,n.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,n.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),{}):"Submit",disableButton:!j||(null==j?void 0:j.name.length)==0||(null==j?void 0:j.email.length)==0||(null==j?void 0:j.message.length)==0,onClick:k})]}),(0,n.jsx)(m,{setIsConfirmation:w,isConfirmation:v})]})}},52183:(e,a,t)=>{t.d(a,{U:()=>l});var n=t(65364);let l={domain:n.env.NEXT_PUBLIC_API_URL||"https://prod-api.therealfeel.ai/v1/api",stripePublicKey:"pk_live_51PcpfR2NQ3PpcajiKjnIaBkl2qwctekNPTPLDbx0C68YJx9BSH5C2hubWN35nGoPw0VsWtYoik9SgKBMS5H9kWmQ00cBQ1uIYJ",host:n.env.NEXT_PUBLIC_LOCAL_HOST,domainUrl:n.env.NEXT_PUBLIC_LOCAL_DOMAIN_URL,Header:{"Content-Type":"application/json"},timeout:6e4,maxRetry:2}},81562:(e,a,t)=>{t.d(a,{$e:()=>h,AE:()=>b,DY:()=>o,GX:()=>m,JN:()=>i,NY:()=>c,Nu:()=>p,Ty:()=>r,Vz:()=>d,__:()=>y,bH:()=>s,jr:()=>x,nP:()=>u,yS:()=>f});var n=t(99744),l=t(3198);let o=async e=>{let{data:a}=await n.dO.post("/auth/register",e);return a},s=async e=>await n.dO.post("/auth/register/verify",e),r=async e=>await n.dO.post("/auth/resendCode",e),i=async e=>await n.dO.post("/auth/login/verify-email",e),c=async e=>await n.dO.post("/contact",e),d=async e=>await n.FE.post("/auth/profile/",e),u=async()=>{let{data:e}=await n.dO.get("/state?country=USA");return e.states},p=async e=>await n.FE.post("/business/user-info/",e),m=async e=>await n.dO.post("/auth/forgot-password/",e),h=async e=>await n.dO.post("/auth/resendCode",e),y=async e=>await n.dO.post("/auth/set-password",e),f=async()=>(await n.FE.get("/questions/getQuestions")).data,x=async()=>{var e,a,t,o;let{data:s}=await n.dO.get("/business/fetchClassificationCollection"),r=(0,l.U_)(s);return null==r||null==(e=r.collection)||e.job.forEach(e=>("Food Preparation Worker"===e.label||"Office Clerk"===e.label?e.label=(0,l.Zr)(e.label):"Other Airline or aerospace professional"===e.label&&(e.label="Other Airline or Aerospace professional"),e)),null==r||null==(a=r.collection)||a.religion.forEach(e
1=>("Christian (Catholic, Protestant, or any other Christian denominations)"===e.label&&(e.label="Christian (Catholic, Protestant, or other Christian denominations)"),e)),null==r||null==(o=r.collection)||null==(t=o.ethnicity)||t.forEach(e=>{var a;(null==(a=e.label)?void 0:a.toLowerCase())==="other"&&(e.label="Other Race")}),r.collection},b=async e=>await n.FE.post("/business/additionalInformation",e)},99744:(e,a,t)=>{t.d(a,{FE:()=>s,dO:()=>r});var n=t(91040),l=t(52183),o=t(38248);let s=n.A.create({baseURL:l.U.domain,timeout:l.U.timeout,headers:l.U.Header}),r=n.A.create({baseURL:l.U.domain,timeout:l.U.timeout,headers:l.U.Header});s.interceptors.request.use(e=>{let a=(0,o.getCookie)("accessToken");return a&&(e.headers.Authorization="".concat(a)),e},e=>Promise.reject(e)),r.interceptors.response.use(e=>e,e=>Promise.reject(e&&e.response)),s.interceptors.response.use(e=>e,e=>Promise.reject(e&&e.response))}}]);

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.