{"version":3,"sources":["webpack:///./src/shared/apiService.ts","webpack:///./src/login.ts","webpack:///./src/login.html","webpack:///./src/main.ts","webpack:///./src/not-found.ts","webpack:///./src/not-found.html","webpack:///./src/reset-password.ts","webpack:///./src/reset-password.html"],"names":["client","config","router","access_token","refresh_token","loggedInUserDisplayName","agencyId","agencyType","userId","language","permissions","this","localStorage","getItem","webApiUrl","get","culture","isLoggedIn","canRelogin","login","username","password","logout","resetAuth","authenticate","response","setAuth","getUserPermissions","setItem","defaultLanguage","window","location","reload","oauth2Response","displayName","removeItem","refreshLogin","oauth2Request","options","method","headers","Headers","body","doFetch","then","hasPermission","permission","some","value","hasPermissionsOr","permissionList","includes","path","params","getDefaultOptions","getBlob","url","doFetchBlob","post","put","delete","length","option","upload","file","fileType","additionalFormData","getUploadOptions","formData","FormData","append","forEach","item","name","input","fromJSDate","Date","zoneName","fetch","handleResponse","catch","status","handleError","response2","navigate","handleResponseBlob","json","Promise","resolve","reject","contentDispositionValue","namePart","split","substring","blob","Error","apiErrorResponse","ApiErrorResponse","errorMessage","responseJson","console","warn","getLoggedInUserDisplayName","getAgencyId","getAgencyType","ApiService","errors","errorCode","log","getErrorsAsDictionary","result","error","propertyName","api","submit","handleForgotPasswordClick","email","navigateToRoute","Login","module","exports","configure","aurelia","i18n","use","standardConfiguration","feature","plugin","useDefaults","settings","lock","centerHorizontalOnly","keyboard","auConfig","setDirectory","debug","setEnvironment","apiScriptLoadedEvent","key","container","libraries","developmentLogging","start","setRoot","utils","i18nService","activate","hash","doPasswordsMatch","newPassword","hashId","showSuccessi18n","passwordAgain","showErrori18n","ResetPassword"],"mappings":"2tEASA,aAWE,WAAoBA,EAA4BC,EAAsCC,GAAlE,KAAAF,SAA4B,KAAAC,SAAsC,KAAAC,SAT9E,KAAAC,aAAuB,KACvB,KAAAC,cAAwB,KACxB,KAAAC,wBAAkC,KAClC,KAAAC,SAAmB,KACnB,KAAAC,WAA6B,KAC7B,KAAAC,OAAiB,KACjB,KAAAC,SAA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