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ACNC,IAAK,cACLC,KAAM,IAAIC,KAAK,eAEjB,CACEH,KAAM,OACNC,IAAK,eACLC,KAAM,IAAIC,KAAK,eAEjB,CACEH,KAAM,MACNC,IAAK,cACLC,KAAM,IAAIC,KAAK,eAEjB,CACEH,KAAM,OACNC,IAAK,eACLC,KAAM,IAAIC,KAAK,eAEjB,CACEH,KAAM,MACNC,IAAK,cACLC,KAAM,IAAIC,KAAK,eAEjB,CACEH,KAAM,OACNC,IAAK,eACLC,KAAM,IAAIC,KAAK,mGCnPnB,MAAOC,EAGXC,YAAoBC,GAAAC,KAAAD,OAFpBC,KAAAC,QAAkBC,IAAYC,QAG9B,CAEAC,iBAAiBC,GACf,OAAOL,KAAKD,KAAKO,KAAmBN,KAAKC,QAAU,kBAAmBI,EAAKE,IAAWC,aACxF,CAEAC,aAAaJ,GACX,OAAOL,KAAKD,KAAKO,KAAmBN,KAAKC,QAAU,4BAA6BI,EAAKE,IAAWC,aAClG,CAEAE,WAAWL,GACT,OAAOL,KAAKD,KAAKY,IAAkBX,KAAKC,QAAU,6BAA8BI,EAAKE,IAAWC,aAClG,CAEAI,WAAWC,GACT,OAAOb,KAAKD,KAAKe,OAAqBd,KAAKC,QAAU,mCAAmCY,IAAMN,IAAWC,aAC3G,CAEAO,wBACE,OAAOf,KAAKD,KAAKiB,IAAkBhB,KAAKC,QAAU,+BAAgCM,IAAWC,aAC/F,CAEAS,eAAeC,GACb,OAAOlB,KAAKD,KAAKiB,IAAkBhB,KAAKC,QAAU,yCAAyCiB,IAASX,IAAWC,aACjH,CAACW,SAAAnB,KAAA,mBAAAoB,iBA5BUvB,GAAsBwB,MAAAC,MAAA,EAAAH,SAAAnB,KAAA,WAAAuB,EAAAC,IAAA,OAAtB3B,EAAsB4B,QAAtB5B,EAAsB6B","names":["messages","from","photo","subject","chat","type","msg","date","Date","AuthenticationProvider","constructor","http","this","baseUrl","environment","BASE_URL","authenticateUser","obj","post","ApiHeaders","getOptions","registerUser","updateUser","put","deleteUser","id","delete","getWiserDigitUserList","get","forgotPassword","email","static","t","i0","i1","_angular_core__WEBPACK_IMPORTED_MODULE_2__","jDH","factory","ɵfac"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./src/app/pages/apps/chat/chat-data.ts","./src/app/providers/authentication.provider.ts"],"sourcesContent":["export const messages = [\r\n {\r\n from: 'James Johnson',\r\n photo: 'assets/images/profile/user-1.jpg',\r\n subject: 'Hey, how are you?',\r\n chat: [\r\n {\r\n type: 'odd',\r\n msg: 'Hi Luke.',\r\n date: new Date('2016-01-05'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'How are you my friend?',\r\n date: new Date('2016-01-06'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'I am good and what about you?',\r\n date: new Date('2016-01-07'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'Lorem Ipsum is simply dummy text of the printing & type setting industry.',\r\n date: new Date('2016-01-08'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'I would love to join the team.',\r\n date: new Date('2016-01-09'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'Well we have good budget for the project.',\r\n date: new Date('2016-01-10'),\r\n },\r\n ],\r\n },\r\n {\r\n from: 'Maria Hernandez',\r\n photo: 'assets/images/profile/user-2.jpg',\r\n subject: 'Lorem ipsum done dkaghdka',\r\n chat: [\r\n {\r\n type: 'odd',\r\n msg: 'this is odd2',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'this is even2',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'Simply dummy text of the printing & type setting industry.',\r\n date: new Date('2016-01-08'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'Love to join the team.',\r\n date: new Date('2016-01-09'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'Have good budget for the project.',\r\n date: new Date('2016-01-10'),\r\n },\r\n ],\r\n },\r\n {\r\n from: 'David Smith',\r\n photo: 'assets/images/profile/user-3.jpg',\r\n subject: 'Thanks mate',\r\n chat: [\r\n {\r\n type: 'odd',\r\n msg: 'Hi Luke.',\r\n date: new Date('2016-01-05'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'How are you my friend?',\r\n date: new Date('2016-01-06'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'I am good and what about you?',\r\n date: new Date('2016-01-07'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'Lorem Ipsum is simply dummy text of the printing & type setting industry.',\r\n date: new Date('2016-01-08'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'I would love to join the team.',\r\n date: new Date('2016-01-09'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'Well we have good budget for the project.',\r\n date: new Date('2016-01-10'),\r\n },\r\n ],\r\n },\r\n {\r\n from: 'Maria Rodriguez',\r\n photo: 'assets/images/profile/user-4.jpg',\r\n subject: 'This is my shot',\r\n chat: [\r\n {\r\n type: 'odd',\r\n msg: 'this is odd',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'this is even',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'this is odd',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'this is even',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'this is odd',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'this is even',\r\n date: new Date('2016-01-10'),\r\n },\r\n ],\r\n },\r\n {\r\n from: 'Robert Smith',\r\n photo: 'assets/images/profile/user-5.jpg',\r\n subject: 'You have to do it with your self',\r\n chat: [\r\n {\r\n type: 'odd',\r\n msg: 'this is odd',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'this is even',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'this is odd',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'this is even',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'this is odd',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'this is even',\r\n date: new Date('2016-01-10'),\r\n },\r\n ],\r\n },\r\n {\r\n from: 'Joseph Sarah',\r\n photo: 'assets/images/profile/user-6.jpg',\r\n subject: 'No mate this is not',\r\n chat: [\r\n {\r\n type: 'odd',\r\n msg: 'this is odd',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'this is even',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'this is odd',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'this is even',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'this is odd',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'this is even',\r\n date: new Date('2016-01-10'),\r\n },\r\n ],\r\n },\r\n {\r\n from: 'Thomas Smith',\r\n photo: 'assets/images/profile/user-7.jpg',\r\n subject: 'Arti thai gai ne?',\r\n chat: [\r\n {\r\n type: 'odd',\r\n msg: 'this is odd',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'this is even',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'this is odd',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'this is even',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'odd',\r\n msg: 'this is odd',\r\n date: new Date('2016-01-10'),\r\n },\r\n {\r\n type: 'even',\r\n msg: 'this is even',\r\n date: new Date('2016-01-10'),\r\n },\r\n ],\r\n },\r\n ];\r\n ","import {HttpClient} from \"@angular/common/http\";\r\nimport {Injectable} from \"@angular/core\";\r\nimport {Observable} from \"rxjs\";\r\nimport {ApiHeaders} from \"../classes/api-headers\";\r\nimport {RestResponse} from \"../classes/rest-response\";\r\nimport {environment} from \"../../environments/environment\";\r\n\r\n@Injectable()\r\nexport class AuthenticationProvider {\r\n baseUrl: string = environment.BASE_URL;\r\n\r\n constructor(private http: HttpClient) {\r\n }\r\n\r\n authenticateUser(obj: any): Observable {\r\n return this.http.post(this.baseUrl + `/api/Auth/Login`, obj, ApiHeaders.getOptions());\r\n }\r\n\r\n registerUser(obj: any): Observable {\r\n return this.http.post(this.baseUrl + `/api/Auth/AddRegistration`, obj, ApiHeaders.getOptions());\r\n }\r\n\r\n updateUser(obj: any): Observable {\r\n return this.http.put(this.baseUrl + `/api/Auth/EditRegistration`, obj, ApiHeaders.getOptions());\r\n }\r\n\r\n deleteUser(id: number): Observable {\r\n return this.http.delete(this.baseUrl + `/api/Auth/DeleteRegistration?Id=${id}`, ApiHeaders.getOptions());\r\n }\r\n\r\n getWiserDigitUserList(): Observable {\r\n return this.http.get(this.baseUrl + `/api/Auth/WiserDigitUserList`, ApiHeaders.getOptions());\r\n }\r\n\r\n forgotPassword(email: string): Observable {\r\n return this.http.get(this.baseUrl + `/api/Auth/SendOTPForgotPassword?email=${email}`, ApiHeaders.getOptions());\r\n }\r\n}\r\n"],"x_google_ignoreList":[]}