1"use strict";(self.webpackChunkin_home_react=self.webpackChunkin_home_react||[]).push([[8947],{63857:function(e,r,t){t.d(r,{Iy:function(){return p},NL:function(){return h},Xv:function(){return m}});var n=t(44016),i=t(73560),s=t(85109),a=s.n_({client_id:s.Rx,client_name:s.Z_,length:s.Z_,name:s.Z_,reimbursement:s.Z_,service_id:s.Rx,tip:s.Z_,total_reimbursement:s.Z_}),o=s.n_({clientId:s.Rx,clientName:s.Z_,length:s.Z_,name:s.Z_,reimbursement:s.Z_,serviceId:s.Rx,tip:s.Z_,totalReimbursement:s.Z_}),c=s.n_({abbreviation:s.Z_,corporate_entity_business_line_id:s.Rx,label:s.Z_,services:s.IX(a)}),l=s.n_({abbreviation:s.Z_,corporateEntityBusinessLineId:s.Rx,label:s.Z_,services:s.IX(o)});(0,i.yTH)("ReimbursementService",{operations:[["copy",{sourceProperties:["length","name","reimbursement","tip"]}],["copy",{sourceProperty:"client_id",targetProperty:"clientId"}],["copy",{sourceProperty:"client_name",targetProperty:"clientName"}],["copy",{sourceProperty:"service_id",targetProperty:"serviceId"}],["copy",{sourceProperty:"total_reimbursement",targetProperty:"totalReimbursement"}]],decoders:{source:a,target:o}});var d=(0,i.yTH)("Reimbursement",{operations:[["copy",{sourceProperties:["abbreviation","label"]}],["copy",{sourceProperty:"corporate_entity_business_line_id",targetProperty:"corporateEntityBusinessLineId"}],["compose",{sourceProperty:"services",targetProperty:"services",mapper:"ReimbursementService"}]],decoders:{source:c,target:l}}),u=n.i2.injectEndpoints({endpoints:function(e){return{send2faCode:e.mutation({query:function(e){var r=e.application,t=e.email,n=e.template;return{url:"/api/v1/member/send_2fa_code",method:"POST",params:{application:r,email:t,template:void 0===n?"login":n},validateStatus:function(e,r){return 200===e.status&&!r.errors}}}}),resetProvider:e.mutation({query:function(e){return{url:"/api/v1/salesforce/application/reset_provider",method:"POST",params:{code:e.verificationCode,email:e.email},validateStatus:function(e,r){return 200===e.status&&!r.errors}}},transformResponse:function(e){return e.salesforce_response}}),getPaymentRates:e.query({query:function(e){return{url:"/api/v1/limited/reimbursement_for_zip",method:"POST",params:{token:e.token},excludeTokenCookie:!0,validateStatus:function(e,r){return 200===e.status&&!r.errors}}},transformResponse:function(e){return e.reimbursements.map((function(e){return d.apply(e)}))}})}}}),p=u.useGetPaymentRatesQuery,m=u.useSend2faCodeMutation,h=u.useResetProviderMutation},38947:function(e,r,t){t.r(r),t.d(r,{default:function(){return j}});var n=t(1413),i=t(47313),s=t(70261),a=t(58525),o=t(23856),c=t(63857),l=t(73560),d=t(92425),u="style_base__IDCA6",p="style_infoBox__W5qC0",m="style_infoBox-title__6jsi4",h="style_content__TRnrM",x="style_table__7uJnM",_=t(46417),f={abbreviation:"wellness_in_home",label:"In-home Massage Treatment",corporateEntityBusinessLineId:1,services:[{length:"6000 mins",name:"Stretch",reimbursement:"$75000",clientId:8,clientName:"Zeel",serviceId:496,tip:"$21.6 (automatic 18% tip)",totalReimbursement:"$120"},{length:"6000 mins",name:"Stretch",reimbursement:"$75000",clientId:9,clientName:"Zeel",serviceId:529,tip:"$21.6 (automatic 18% tip)",totalReimbursement:"$120"}]},j=(0,a.P)((function(){var e=(0,o.lr)().token,r=(0,i.useMemo)((function(){if(!e)return"";try{var r,t;return null===(r=s.BM.parseJwt(e))||void 0===r||null===(t=r.additional_attributes)||void 0===t?void 0:t.zip}catch(n){return""}}),[e]),t=(0,i.useMemo)((function(){try{return!!e&&(s.BM.parseJwt(e),!0)}catch(r){return!1}}),[e]),a=(0,i.useMemo)((function(){return s.sC.isZipValid(r)}),[r]),j=(0,c.Iy)({token:e},{skip:!a||!e||!t}),v=j.data,y=j.isLoading,b=j.isError,g=(0,i.useMemo)((function(){var e;return null===(e=y?[f]:v)||void 0===e?void 0:e.reduce((function(e,r){return e.concat(r.services.map((function(e){return(0,n.Z)({category:r.label},e)})))}),[])}),[v,y,f]);return(0,_.jsxs)(d.Z,{className:u,contentClassName:h,footer:!1,navProps:{gated:!0,hideBackArrow:!0},children:[(!e||!r||!t||b)&&(0,_.jsx)("div",{className:p,children:(0,_.jsx)("p",{className:m,children:"Invalid URL"})}),e&&r&&!a&&(0,_.jsx)("div",{className:p,children:(0,_.jsx)("p",{className:m,children:"Invalid Zip Code"})}),a&&!b&&(0,_.jsx)(l.BR_,{loading:y,children:(0,_.jsxs)("div",{className:"flow-header",children:[(0,_.jsx)("div",{className:p,children:(0,_.jsx)(l.B9f,{children:(0,_.jsxs)("p",{className:m,children:["Payment Rates for Zip Code ",r]})})}),(0,_.jsx)("div",{className:x,children:(0,_.jsxs)("table",{children:[(0,_.jsx)("thead",{children:(0,_.jsxs)("tr",{children:[(0,_.jsx)("th",{children:(0,_.jsx)(l.B9f,{children:(0,_.jsx)("span",{children:"Service"})})}),(0,_.jsx)("th",{children:(0,_.jsx)(l.B9f,{children:(0,_.jsx)("span",{children:"Clients"})})}),(0,_.jsx)("th",{children:(0,_.jsx)(l.B9f,{children:(0,_.jsx)("span",{children:"Duration"})})}),(0,_.jsx)("th",{children:(0,_.jsx)(l.B9f,{children:(0,_.jsx)("span",{children:"Base Pay"})})}),(0,_.jsx)("th",{children:(0,_.jsx)(l.B9f,{children:(0,_.jsx)("span",{children:"Tips"})})}),(0,_.jsx)("th",{children:(0,_.jsx)(l.B9f,{children:(0,_.jsx)("span",{children:"Total Earnings"})})})]})}),(0,_.jsx)("tbody",{children:null===g||void 0===g?void 0:g.map((function(e){var r=e.category,t=e.clientName,n=e.serviceId,i=e.length,s=e.reimbursement,a=e.tip,o=e.totalReimbursement;return(0,_.jsxs)("tr",{children:[(0,_.jsx)("td",{children:(0,_.jsx)(l.B9f,{children:(0,_.jsx)("span",{children:r})})}),(0,_.jsx)("td",{children:(0,_.jsx)(l.B9f,{children:(0,_.jsx)("span",{children:t})})}),(0,_.jsx)("td",{children:(0,_.jsx)(l.B9f,{children:(0,_.jsx)("span",{children:i})})}),(0,_.jsx)("td",{children:(0,_.jsx)(l.B9f,{children:(0,_.jsx)("span",{children:s})})}),(0,_.jsx)("td",{children:(0,_.jsx)(l.B9f,{children:(0,_.jsx)("span",{children:a})})}),(0,_.jsx)("td",{children:(0,_.jsx)(l.B9f,{children:(0,_.jsx)("span",{children:o})})})]},n+i)}))}),(0,_.jsx)("tfoot",{children:(0,_.jsx)("tr",{children:(0,_.jsx)("td",{colSpan:6,children:(0,_.jsx)(l.B9f,{children:(0,_.jsx)("p",{children:"We are providing this information to help therapists understand the earnings for different appointment types in their home zip code. The earnings rates for any given appointment request is also always displayed in the Zeel Provider App when therapists view the request."})})})})})]})})]})})]})}))}}]);
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.