1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"medbillai-web@7bdf109"};var r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="7c1c9e09-6799-424f-a185-9428da95574a",e._sentryDebugIdIdentifier="sentry-dbid-7c1c9e09-6799-424f-a185-9428da95574a")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[608],{4320:(e,r,t)=>{"use strict";t.d(r,{m:()=>u});var o=t(60072),a=t(56615),n=t(96126),s=t(22350),i=t(59843),d=t(82692),l=t(94131);let c=n.Ik({givenName:s.UQ.text.describe("First Name"),familyName:s.UQ.text.describe("Last Name"),dob:s.UQ.date_text.describe("Date of Birth"),primary:s.UQ.boolean_switch.describe("Is this you?").optional()});function u({defaultValues:e,onSubmit:r,personForm:t}){return(0,o.jsx)(a.Op,{...t,"data-sentry-element":"FormProvider","data-sentry-component":"PersonForm","data-sentry-source-file":"PersonForm.tsx",children:(0,o.jsx)(i.m6,{hideOptionalLabel:!0,"data-sentry-element":"FormFieldOptionsProvider","data-sentry-source-file":"PersonForm.tsx",children:(0,o.jsx)(s.q,{form:t,schema:c,defaultValues:e,onSubmit:r,renderAfter:({submit:e})=>(0,o.jsx)(d.b,{onPress:e,children:"Save"}),"data-sentry-element":"SchemaForm","data-sentry-source-file":"PersonForm.tsx",children:e=>(0,o.jsx)(l.Se,{gap:"$3",paddingTop:"$5",children:Object.values(e)})})})})}},10645:(e,r,t)=>{"use strict";t.d(r,{Fk:()=>h,Oj:()=>f,QG:()=>b,U8:()=>u,m_:()=>y,os:()=>p,qZ:()=>m});var o=t(60072),a=t(87371),n=t(57272),s=t(67978),i=t(28078),d=t(77141),l=t(17732),c=t(81803);(0,a.I)(n.j,{size:"$5",backgroundColor:"$surface0",zIndex:2,justifyContent:"center",alignItems:"center",mb:"$3.5",variants:{whiteShadow:{true:{backgroundColor:"$surface2",shadowColor:"black",shadowOffset:{height:4,width:0},shadowRadius:4,shadowOpacity:.08},false:{}}}});let u=(0,a.I)(s.lW,{height:"$3",width:"$3",alignItems:"center",justifyContent:"center",borderRadius:"$3",backgroundColor:"$surface0"});(0,a.I)(s.Se,{position:"absolute",left:0,right:0,bottom:0,transform:[{translateY:0}],justifyContent:"flex-end",alignItems:"center"}),(0,a.I)(s.Se,{position:"absolute",left:0,right:0,bottom:0,top:0,justifyContent:"center",alignItems:"center",transition:"bouncyTight",enterStyle:{opacity:0,scale:.5},exitStyle:{opacity:0}}),(0,a.I)(s.lW,{opacity:1,scale:1,position:"absolute",left:0,right:0,top:0,bottom:0,f:1,jc:"center",ai:"center"});let b={shadowOffset:{width:0,height:2},shadowOpacity:.08,shadowRadius:4,shadowColor:"black",pressStyle:{scale:.95},transition:"bouncyTight"},h=(0,a.I)(s.lW,{cursor:"pointer",gap:"$2",px:"$3",py:"$2",borderWidth:c.T,borderColor:"$borderDefault",backgroundColor:"$surface2",borderRadius:"$10",justifyContent:"center",alignItems:"center",shadowOffset:{width:0,height:2},shadowOpacity:.08,shadowRadius:4,shadowColor:"black",hoverStyle:{backgroundColor:"$surface2Hover",borderColor:"$borderDefaultHover"},pressStyle:{backgroundColor:"$surface2Hover",borderColor:"$borderDefaultHover",scale:.95},transition:"bouncyTight"}),y=(0,a.I)(s.lW,{justifyContent:"space-between",alignItems:"center",gap:"$2",px:"$3",py:"$2",borderRadius:"$10",borderWidth:c.T,borderColor:"$color4",backgroundColor:"$color3"});(0,a.I)(i.$,{name:"StyledMultiActionButton",unstyled:!0,cursor:"pointer",borderRadius:"$10",height:"$6",flexDirection:"row",alignItems:"center",justifyContent:"space-between",paddingRight:"$4",paddingLeft:"$3",backgroundColor:"$surface2",borderWidth:1,borderColor:"$borderDefault",transition:"bouncyTight",hoverStyle:{backgroundColor:"$surface2Hover",borderColor:"$borderDefaultHover"},pressStyle:{backgroundColor:"$surface2Hover",borderColor:"$borderDefaultHover",shadowColor:l.i3,shadowOpacity:.8,shadowRadius:14,scale:.98},variants:{selected:{true:{borderColor:"$borderIntense",shadowOffset:{width:0,height:4},shadowColor:"black",shadowOpacity:.08,shadowRadius:8,hoverStyle:{borderColor:"$borderIntense"},pressStyle:{borderColor:"$borderIntense"}}}}}),(0,a.I)(i.$,{name:"StyledNextActionButton",unstyled:!0,cursor:"pointer",br:"$10",height:"$6",width:"$7",transition:"bouncyTight",justifyContent:"center",alignItems:"center",backgroundColor:"$surfaceStrong",hoverStyle:{backgroundColor:"$surfaceStrongHover"},pressStyle:{backgroundColor:"$surfaceStrongHover",scale:.98}});let m=(0,a.I)(d.Ss2,{position:"absolute",left:8,top:8,width:16,height:16,zIndex:1}),f=(0,a.I)(s.lW,{render:"button",unstyled:!0,width:"100%",height:"100%",cursor:"pointer",backgroundColor:"transparent",position:"relative",overflow:"hidden"}),g=(0,a.I)(i.$,{unstyled:!0,flexDirection:"row",alignItems:"center",justifyContent:"center",cursor:"pointer",margin:0,borderWidth:1,borderColor:"$borderDefault",backgroundColor:"$surface2",borderRadius:"$10",height:50,animateO
1nly:["backgroundColor","borderColor","opacity"],paddingHorizontal:"$sp2",hoverStyle:{borderColor:"$borderDefaultHover",backgroundColor:"$surface2Hover"},pressStyle:{margin:0,borderWidth:2,borderColor:"$borderDefaultHover",backgroundColor:"$surface2Hover",scale:.98},variants:{tone:{default:{},negative:{borderColor:"$borderNegative",hoverStyle:{borderColor:"$borderNegativeHover",backgroundColor:"$surface2Hover"},pressStyle:{borderColor:"$borderNegativeHover",backgroundColor:"$surface2Hover"}}},selected:{true:{margin:0,borderWidth:2,borderColor:"$borderIntense",backgroundColor:"$surface2",hoverStyle:{borderColor:"$borderIntense"},pressStyle:{borderColor:"$borderIntense"}}}},defaultVariants:{tone:"default"}}),p=({children:e,...r})=>(0,o.jsx)(g,{...r,"data-sentry-element":"StyledSelectButtonInner","data-sentry-component":"StyledSelectButton","data-sentry-source-file":"GeneralStyledComponents.tsx",children:(0,o.jsx)(i.$.Text,{color:"negative"===r.tone?"$textNegative":"$textDefault",size:"$4","data-sentry-element":"Button.Text","data-sentry-source-file":"GeneralStyledComponents.tsx",children:e})});(0,a.I)(s.lW,{height:8,width:"100%",backgroundColor:"$gray5",borderRadius:2}),t(29177)},20792:(e,r,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/people/create",function(){return t(54188)}])},29177:()=>{},54188:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>w});var o=t(60072),a=t(76316),n=t.n(a),s=t(55563),i=t(36109),d=t(60004),l=t(56615),c=t(68312),u=t(22350),b=t(94131),h=t(66212),y=t(93172),m=t(62274),f=t(17859),g=t(4320),p=t(73228);function $(){let{back:e}=(0,c.r)(),r=(0,l.mN)(),[t,a]=(0,d.useState)(null),[n]=(0,i.n)(p.Jh,{context:(0,f.Q)("error-screen"),ignoreResults:!0}),s=async t=>{a(null);let o=await n({variables:{input:{givenNames:t.givenName?[t.givenName]:void 0,familyName:t.familyName,dob:t.dob,primary:t.primary}}});if(o.data?.createPerson?.__typename==="Person_Type")return void e();if(o.data?.createPerson){(0,u.S7)(r,o.data.createPerson),o.data.createPerson.message&&a(o.data.createPerson.message);return}};return(0,o.jsxs)(m.qM,{extraPadding:!0,centerHorizontal:!0,stackProps:{"$platform-native":{mt:"$10"},$gtSm:{mt:"$6"}},widthLimit:800,"data-sentry-element":"ScreenView","data-sentry-component":"PersonCreateScreen","data-sentry-source-file":"screen.tsx",children:[(0,o.jsxs)(b.Se,{gap:"$2","data-sentry-element":"YStack","data-sentry-source-file":"screen.tsx",children:[(0,o.jsx)(h.F_,{"data-sentry-element":"Subheadline2","data-sentry-source-file":"screen.tsx",children:"Create Person"}),(0,o.jsx)(h.Xd,{theme:"alt1","data-sentry-element":"Paragraph2","data-sentry-source-file":"screen.tsx",children:"Create personal profiles for yourself or your dependents."})]}),(0,o.jsx)(y.W,{errorMessage:t,"data-sentry-element":"FormErrorMessage","data-sentry-source-file":"screen.tsx"}),(0,o.jsx)(g.m,{onSubmit:s,personForm:r,"data-sentry-element":"PersonForm","data-sentry-source-file":"screen.tsx"})]})}var C=t(14766),v=t(21424);let x=()=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n(),{"data-sentry-element":"Head","data-sentry-source-file":"create.tsx",children:(0,o.jsx)("title",{children:"Create Person"})}),(0,o.jsx)($,{"data-sentry-element":"PersonCreateScreen","data-sentry-source-file":"create.tsx"})]});x.getLayout=e=>(0,o.jsx)(v.i,{children:(0,o.jsx)(s.m,{fullPage:!0,children:(0,o.jsx)(C.C,{children:e})})});let w=x},73228:(e,r,t)=>{"use strict";t.d(r,{Im:()=>n,Jh:()=>a});var o=t(45994);let a=(0,o.J)(` 2 mutation CreatePerson($input: CreatePersonInput!) { 3 createPerson(input: $input) { 4 ... on Person_Type { 5 id 6 givenNames 7 familyName 8 dateOfBirth 9 primary 10 } 11 ... on FormError { 12 message 13 fields { 14 message 15 path 16 } 17 } 18 } 19 } 20`),n=(0,o.J)(` 21 mutation UpdatePersonForm($input: UpdatePersonInput!) { 22 updatePerson(input: $input) { 23 ... on Person_Type { 24 id 25 givenNames 26 familyName 27 dateOfBirth 28 primary 29 } 30 ... on FormError { 31 message 32 fields { 33 message 34 path 35 } 36 } 37 } 38 } 39`);(0,o.J)(`
40 mutation CheckPersonMatch($input: CheckPersonMatchInput!) { 41 checkPersonMatch(input: $input) { 42 ... on Person_Type { 43 id 44 givenNames 45 familyName 46 dateOfBirth 47 primary 48 phoneNumber 49 emailAddress 50 addresses { 51 id 52 street 53 city 54 state 55 zip 56 primary 57 } 58 } 59 ... on FormError { 60 message 61 fields { 62 message 63 path 64 } 65 } 66 } 67 } 68`)},82692:(e,r,t)=>{"use strict";t.d(r,{b:()=>s});var o=t(60072),a=t(56615),n=t(45851);let s=e=>{let{isSubmitting:r,isDirty:t}=(()=>{try{let{isSubmitting:e,isDirty:r}=(0,a.lN)();return{isSubmitting:e,isDirty:r}}catch{return{isSubmitting:!1,isDirty:!0}}})(),{forceEnable:s,disabled:i,...d}=e;return(0,o.jsx)(n.lV,{loading:r,disabled:!s&&(!t||r||i),...d,"data-sentry-element":"LoadingButton","data-sentry-component":"SubmitButton","data-sentry-source-file":"SubmitButton.tsx"})}}},e=>{e.O(0,[2733,5023,151,6767,1116,2182,5898,3068,3170,206,8534,5563,1101,2350,4766,636,6593,8792],()=>e(e.s=20792)),_N_E=e.O()}]); 69//# sourceMappingURL=create-39be06d857297192.js.map
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.