{"version":3,"sources":["./src/environments/environment.ts","./src/app/i18n/translation.service.ts","./src/app/i18n/vocabs/en.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/i18n/vocabs/th.ts","./src/app/app-routing.module.ts","./src/main.ts","./$_lazy_route_resource lazy namespace object"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,gFAAgF;AAChF,0EAA0E;AAC1E,gEAAgE;AAEzD,MAAM,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;CAClB,CAAC;AAEF;;;;;;GAMG;AACH,mEAAmE;;;;;;;;;;;;;;;;;;;ACRnE,MAAM,8BAA8B,GAAG,UAAU,CAAC;AAK3C,MAAM,kBAAkB;IAI7B,YAAoB,SAA2B;QAA3B,cAAS,GAAT,SAAS,CAAkB;QAH/C,qBAAqB;QACb,YAAO,GAAQ,EAAE,CAAC;QAGxB,8BAA8B;QAC9B,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;QAEhC,kGAAkG;QAClG,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IAED,gBAAgB,CAAC,GAAG,IAAc;QAChC,MAAM,OAAO,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;QAE1B,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;YACzB,2DAA2D;YAC3D,mDAAmD;YACnD,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YAE9D,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACjC,CAAC,CAAC,CAAC;QAEH,gCAAgC;QAChC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IAED,WAAW,CAAC,IA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,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC;KACzD;IACD;QACE,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,GAAG,EAAE,CACjB,iLAAsC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,eAAe,CAAC;KACxE;IACD;QACE,IAAI,EAAE,YAAY;QAClB,YAAY,EAAE,GAAG,EAAE,CACjB,uLAAwC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,eAAe,CAAC;KAC1E;IACD;QACE,IAAI,EAAE,EAAE;QACR,UAAU,EAAE,MAAM;QAClB,SAAS,EAAE,MAAM;KAClB;IACD;QACE,IAAI,EAAE,IAAI;QACV,UAAU,EAAE,MAAM;KACnB;CACF,CAAC;AAQK,MAAM,gBAAgB;;+FAAhB,gBAAgB;0JAAhB,gBAAgB,kBALlB,CAAC,4DAAY,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,EAChD,4DAAY;mIAIX,gBAAgB,uFAJjB,4DAAY;;;;;;;;;;;;;;;;;;;AClCuB;AAGF;AACY;AAEzD,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,2EAAwB,CAAC,eAAe,CAAC,yDAAS,CAAC;KAChD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;;;;;;;;;;;;ACXpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,qC","file":"main.js","sourcesContent":["// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n production: false\r\n};\r\n\r\n/*\r\n * For easier debugging in development mode, you can import the following file\r\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\r\n *\r\n * This import should be commented out in production mode because it will have a negative impact\r\n * on performance if an error is thrown.\r\n */\r\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\r\n","import { Injectable } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\nexport interface Locale {\r\n lang: string;\r\n data: any;\r\n}\r\nconst LOCALIZATION_LOCAL_STORAGE_KEY = 'language';\r\n\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class TranslationService {\r\n // Private properties\r\n private langIds: any = [];\r\n\r\n constructor(private translate: TranslateService) {\r\n // add new langIds to the list\r\n this.translate.addLangs(['TH']);\r\n\r\n // this language will be used as a fallback when a translation isn't found in the current language\r\n this.translate.setDefaultLang('TH');\r\n }\r\n\r\n loadTranslations(...args: Locale[]): void {\r\n const locales = [...args];\r\n\r\n locales.forEach((locale) => {\r\n // use setTranslation() with the third argument set to true\r\n // to append translations instead of replacing them\r\n this.translate.setTranslation(locale.lang, locale.data, true);\r\n\r\n this.langIds.push(locale.lang);\r\n });\r\n\r\n // add new languages to the list\r\n this.translate.addLangs(this.langIds);\r\n }\r\n\r\n setLanguage(lang : any) {\r\n if (lang) {\r\n this.translate.use(this.translate.getDefaultLang());\r\n this.translate.use(lang);\r\n localStorage.setItem(LOCALIZATION_LOCAL_STORAGE_KEY, lang);\r\n }\r\n }\r\n\r\n /**\r\n * Returns selected language\r\n */\r\n getSelectedLanguage(): any {\r\n return (\r\n localStorage.getItem(LOCALIZATION_LOCAL_STORAGE_KEY) ||\r\n this.translate.getDefaultLang()\r\n );\r\n }\r\n}\r\n","// USA\r\nexport const locale = {\r\n lang: 'EN',\r\n data: {\r\n PAGE_HOME : {\r\n OVERVIEW : {\r\n data_section_overview : {\r\n title: \"HRA\",\r\n detail: \"N/A\"\r\n }\r\n }\r\n }\r\n }\r\n};\r\n","import { AfterViewInit, Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { TranslationService } from './i18n/translation.service';\r\nimport { locale as enLang } from './i18n/vocabs/en';\r\nimport { locale as thLang } from './i18n/vocabs/th';\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.scss']\r\n})\r\nexport class AppComponent implements OnInit, AfterViewInit, OnDestroy {\r\n openBoxContact :boolean = false;\r\n constructor(\r\n private translationService: TranslationService,\r\n private translate: TranslateService) {\r\n\r\n this.translationService.loadTranslations(\r\n enLang,\r\n thLang,\r\n );\r\n }\r\n \r\n ngOnInit() { }\r\n ngAfterViewInit() {}\r\n ngOnDestroy() {}\r\n\r\n\r\n\r\n data_section_contact_us = {\r\n company: \"AYODIA Co., Ltd.\",\r\n stamp: \"© 2021 AYODIA Co., Ltd.\",\r\n companyLogo_Show: true,\r\n email: \"contact@ayodiacompany.com\",\r\n companyDetail: \"A next-generation IT company that evolves your business by developing smarter system and providing trustworthy supports\",\r\n tel: \"02-862-3021\",\r\n followUs_Show: true,\r\n followUs: {\r\n line: \"\",\r\n ig: \"\",\r\n facebook: \"\"\r\n }\r\n };\r\n\r\n data_section_law_other = [ {\r\n id:1,\r\n name:\"พระราชบัญญัติความความปลอดภัย อาชีวอนามัย และสภาพแวดล้อมในการทำงาน พ.ศ. 2562\",\r\n link:\"http://www.ratchakitcha.soc.go.th/DATA/PDF/2562/A/067/T_0215.PDF?fbclid=IwAR2-7ueT8X3hltgukfPAAI7fMeLTRe1vcUxHAYi5uadR83f1thz4FciVwYg\"\r\n },\r\n {\r\n id:6,\r\n name:\"พระราชบัญญัติความความปลอดภัย อาชีวอนามัย และสภาพแวดล้อมในการทำงาน พ.ศ. 2554\",\r\n link:\"https://www.labour.go.th/index.php/labor-law/category/6-laws-labor-4?download=24:2019-07-12-02-19-43\",\r\n },{\r\n id:3,\r\n name:\"ระเบียบกรมสวัสดิการและคุ้มครองแรงงาน ว่าด้วยการตรวจ สถานประกอบกิจการตามพระราชบัญญัติความปลอดภัย อาชีวอนามัย และสภาพแวดล้อมในการทำงาน พ.ศ. 2554 พ.ศ. 2561\",\r\n link:\"https://www.labour.go.th/index.php/labor-law/category/6-laws-labor-4?download=25:2019-07-12-02-21-52\",\r\n },\r\n {\r\n id:2,\r\n name:\"กฎกระทรวง กำหนดมาตรฐานในการบริการ จัดการ และดำเนินการด้านความปลอดภัยอาชีวอนามัย และสภาพแวดล้อมในการทำงานเกี่ยวกับที่อับอากาศ พ.ศ. 2562\",\r\n link:\"https://www.labour.go.th/index.php/labor-law/category/6-laws-labor-4?download=28:2019-07-12-02-25-32\",\r\n },{\r\n id:4,\r\n name:\"กฎกระทรวง กำหนดมาตรฐานในการบริการ จัดการ และดำเนินการด้านความปลอดภัยอาชีวอนามัย และสภาพแวดล้อมในการทำงานเกี่ยวกับที่อับอากาศ พ.ศ. 2559\",\r\n link:\"https://www.labour.go.th/index.php/labor-law/category/6-laws-labor-4?download=29:2019-07-12-02-26-13\",\r\n },{\r\n id:5,\r\n name:\"กฎกระทรวงกำหนดมาตรฐานในการบริหาร จัดการ และดำเนินการด้านความปลอดภัย อาชีวอนามัย และสภาพแวดล้อมในการทำงานเกี่ยวกับสารเคมีอันตราย พ.ศ. 2556\",\r\n link:\"https://www.labour.go.th/index.php/labor-law/category/6-laws-labor-4?download=31:2019-07-12-02-27-31\",\r\n }];\r\n data_section_company = [\r\n {\r\n id: 1,\r\n name: \"Good practice guidance on occupational health risk assessment\",\r\n link: \"https://www.workplacesafetynorth.ca/sites/default/files/resources/Mining_health-and-safety_health-risk-assessment_2nd-edition-Intl_Council_Mining_Metals-2017.pdf\",\r\n },\r\n {\r\n id: 2,\r\n name: \"ISO 45001 มาตรฐานระบบการจัดการ อาชีวอนามัยและความปลอดภัย\",\r\n link: \"https://www.bsigroup.com/th-TH/occupational-health-and-safety-iso-45001/\",\r\n\r\n },\r\n {\r\n id: 3,\r\n name: \"สมาคมส่งเสริมความปลอดภัยและอนามัยในการทำงาน (ประเทศไทย) ในพระราชูปถัมภ์\",\r\n link: \"https://www.shawpat.or.th/\",\r\n\r\n },\r\n {\r\n id: 4,\r\n name: \"มูลนิธิสัมมาอาชีวะ\",\r\n link: \"https://www.summacheeva.org/main\",\r\n\r\n },\r\n {\r\n id: 5,\r\n name: \"กรมสวัสดิการและคุ้มครองแรงงาน\",\r\n link: \"https://www.labour.go.th/index.php/home\",\r\n\r\n },\r\n {\r\n id: 6,\r\n name: \"สมาคมอาชีวอนามัยและความปลอดภัยในการทำงาน\",\r\n link: \"https://www.ohswa.or.th/\",\r\n },\r\n ];\r\n data_master = {\r\n text_contact_us: \"Contact us\",\r\n text_follow_us: \"FOLLOW US\",\r\n text_law_footer: \"กฎหมายที่เกี่ยวข้อง\",\r\n text_lawCompany_footer: \"หน่วยงานที่เกี่ยวข้อง\"\r\n }\r\n}\r\n","\r\n\r\n