{"version":3,"file":"sm.portal.vm.documentList.min.js","names":["jQuery","sm","portal","extend","vm","custom","document_checklist","CheckDocumentStatus","data","StatusBusinessMeaningName","LocalizeKeys","RequiredDocumentsText","utility","getResourceValue"],"sources":["customization/assets/js/canada/document_checklist/sm.portal.vm.documentList.js"],"mappings":"CAAA,SAAWA,QAEkB,IAAdC,GAAGC,QACVF,EAAOG,OAAOF,GAAI,CAAEC,OAAQ,CAAC,SAEL,IAAjBD,GAAGC,OAAOE,IACjBJ,EAAOG,OAAOF,GAAGC,OAAQ,CAAEE,GAAI,CAAC,SAED,IAAxBH,GAAGC,OAAOE,GAAGC,QACpBL,EAAOG,OAAOF,GAAGC,OAAOE,GAAI,CAAEC,OAAQ,CAAC,SAEW,IAA3CJ,GAAGC,OAAOE,GAAGC,OAAOC,oBAC3BN,EAAOG,OAAOF,GAAGC,OAAOE,GAAGC,OAAQ,CAAEC,mBAAoB,CAAC,IAiB9DN,EAAOG,QAAO,EAAMF,GAAGC,OAAOE,GAAGC,OAAOC,mBAAoB,CACxDC,oBATJ,SAA6BC,GACzB,MAAsC,yCAAlCA,EAAKC,2BAA0G,uCAAlCD,EAAKC,yBAK1F,EAIIC,aAhBJ,WAII,MAHW,CACPC,sBAAwBV,GAAGC,OAAOU,QAAQC,iBAAiB,sBAGjE,GAcL,CAlCD,CAkCGb","ignoreList":[],"sourcesContent":["(function (jQuery, undefined) {\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.custom === \"undefined\") {\r\n jQuery.extend(sm.portal.vm, { custom: {}});\r\n }\r\n if (typeof sm.portal.vm.custom.document_checklist === \"undefined\") {\r\n jQuery.extend(sm.portal.vm.custom, { document_checklist: {}});\r\n }\r\n\r\n function LocalizeKeys(){\r\n var keys = {\r\n RequiredDocumentsText : sm.portal.utility.getResourceValue('AdmissionsDocument'),\r\n }\r\n return keys;\r\n }\r\n function CheckDocumentStatus(data) {\r\n if (data.StatusBusinessMeaningName == 'ApplicationProcessStepStatus.Complete' || data.StatusBusinessMeaningName == 'ApplicationProcessStepStatus.Waived') {\r\n return true;\r\n }\r\n else\r\n return false;\r\n }\r\n\r\n jQuery.extend(true, sm.portal.vm.custom.document_checklist, {\r\n CheckDocumentStatus: CheckDocumentStatus,\r\n LocalizeKeys: LocalizeKeys,\r\n });\r\n\r\n})(jQuery);"]}