{"version":3,"file":"sm.portal.vm.personInformation.apas.min.js","names":["jQuery","sm","window","portal","extend","vm","apaspersoninformation","LoadModel","personInformation","container","ASN","Payload","BasicPerson","ExtractATO","smapi","community","PersonModel","GivenName","FirstName","MiddleName","Surname","LastName","PreferredGivenName","PreferredName","DateOfBirth","GenderID","SIN","ID","SuffixID","CRMRankID","LeadTypeID","ExtractASNATO","PersonIdentifierModel","Identifier"],"sources":["assets/js/localization/apas/helpers/viewmodels/admissions/sm.portal.vm.personInformation.apas.js"],"mappings":"CAAA,SAAWA,GACP,IAAIC,EAAKC,OAAOD,GAAKC,OAAOD,IAAM,CAAC,OAIV,IAAdA,EAAGE,QACVH,EAAOI,OAAOH,EAAI,CAAEE,OAAQ,CAAC,SAEL,IAAjBF,EAAGE,OAAOE,IACjBL,EAAOI,OAAOH,EAAGE,OAAQ,CAAEE,GAAI,CAAC,SAEc,IAAvCJ,EAAGE,OAAOE,GAAGC,uBACpBN,EAAOI,OAAOH,EAAGE,OAAOE,GAAI,CAAEC,sBAAuB,CAAC,IAkC1DN,EAAOI,QAAO,EAAMH,EAAGE,OAAOE,GAAGC,sBAAuB,CACpDC,UAhCJ,SAAmBC,EAAmBC,GAIlC,OAFAD,EAAkBE,IAAID,EAAUE,QAAQC,YAAYF,KAE7CF,CACX,EA4BIK,WA1BJ,SAAoBL,GAEhB,OAAO,IAAIM,MAAMC,UAAUC,YAAY,CACnCC,UAAWT,EAAkBU,YAC7BC,WAAYX,EAAkBW,aAC9BC,QAASZ,EAAkBa,WAC3BC,mBAAoBd,EAAkBe,gBACtCC,YAAahB,EAAkBgB,cAC/BC,SAAUjB,EAAkBiB,WAC5BC,IAAKlB,EAAkBkB,MACvBC,GAAInB,EAAkBmB,KACtBC,UAAW,EACXC,WAAY,EACZC,YAAa,GAErB,EAYIC,cAVJ,SAAuBvB,GAEnB,OAAO,IAAIM,MAAMC,UAAUiB,sBAAsB,CAC7CC,WAAYzB,EAAkBE,OAEtC,GAQH,CApDD,CAoDGV","ignoreList":[],"sourcesContent":["(function (jQuery, undefined) {\r\n var sm = window.sm = window.sm || {};\r\n var windowProxy;\r\n var actionQueue = [];\r\n\r\n if (typeof sm.portal === \"undefined\") {\r\n jQuery.extend(sm, { portal: {} });\r\n }\r\n if (typeof sm.portal.vm === \"undefined\") {\r\n jQuery.extend(sm.portal, { vm: {} });\r\n }\r\n if (typeof sm.portal.vm.apaspersoninformation === \"undefined\") {\r\n jQuery.extend(sm.portal.vm, { apaspersoninformation: {} });\r\n }\r\n\r\n function LoadModel(personInformation, container) {\r\n\r\n personInformation.ASN(container.Payload.BasicPerson.ASN);\r\n\r\n return personInformation;\r\n }\r\n\r\n function ExtractATO(personInformation) {\r\n\r\n return new smapi.community.PersonModel({\r\n GivenName: personInformation.FirstName(),\r\n MiddleName: personInformation.MiddleName(),\r\n Surname: personInformation.LastName(),\r\n PreferredGivenName: personInformation.PreferredName(),\r\n DateOfBirth: personInformation.DateOfBirth(),\r\n GenderID: personInformation.GenderID(),\r\n SIN: personInformation.SIN(),\r\n ID: personInformation.ID(),\r\n SuffixID: -1,\r\n CRMRankID: -1,\r\n LeadTypeID: -1\r\n });\r\n }\r\n\r\n function ExtractASNATO(personInformation) {\r\n\r\n return new smapi.community.PersonIdentifierModel({\r\n Identifier: personInformation.ASN()\r\n });\r\n }\r\n\r\n jQuery.extend(true, sm.portal.vm.apaspersoninformation, {\r\n LoadModel: LoadModel,\r\n ExtractATO: ExtractATO,\r\n ExtractASNATO: ExtractASNATO\r\n });\r\n\r\n})(jQuery);\r\n"]}